Articles in this section

capitalize helper

Use {{capitalize}} to capitalize the first letter of the very first word in a string. You can pass a hard-coded string or a field from the record.

Usage

{{capitalize field}}
  • field: A string or field containing text (e.g., "lorem ipsum" or record.description).

Examples

  1. Capitalizing a record field

    {{capitalize record.day}}
    

    If record.day is "today is the day!", the output becomes "Today is the day!".

  2. Hard-coded string

    {{capitalize "hello world"}}
    

    Results in "Hello world".

  3. Partial sentence fields

    {{capitalize record.type}}
    

    If record.type is "dog", the output is "Dog".

Tip

  • This helper only affects the first word; subsequent words remain unchanged.

  • If your text starts with a space or punctuation, the first letter recognized might not be what you expect—confirm that the string starts with a letter.

  • For full title capitalization (each word in a string), consider using {{capitalizeAll}} instead.