Articles in this section

capitalizeAll helper

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

Usage

{{capitalizeAll field}}
  • field: The string or field containing text (e.g., "john doe" or record.addressLine1).

Examples

  1. Capitalizing a record field

    {{capitalizeAll record.lastName}}
    

    If record.lastName is "doe smith", it outputs "Doe Smith".

  2. Capitalizing a literal text

    {{capitalizeAll "the quick brown fox"}}
    

    Results in "The Quick Brown Fox".

  3. Formatting product titles

    {{capitalizeAll record.productTitle}}
    

    If record.productTitle is "new release item", you get "New Release Item".

Tip

  • Punctuation or special characters can split words differently; verify the output if your text includes unusual symbols.

  • This helper is case-insensitive; it only guarantees the first letter of each word is uppercase. All other letters remain unchanged.