Email notification: Capitalize an entire word of the field input

  • G
    Gigi
    Asked on April 2, 2026 at 9:57 PM
    There is a way in email notifications to capitalize the first letter of each word, is there a way it can do the entire word in the notification email?
  • Profile Image
    Lorenz JotForm Support
    Replied on April 2, 2026 at 10:10 PM

    Hi Gigi,

    Thanks for reaching out to us for help. To clarify, are you looking to capitalize the field value in the Email Notification? If so, then we can use Custom HTML and Inline CSS in the email notification's source code. Let me walk you through it:

    1. In Form Builder, in the orange navigation bar at the top, click on Settings.

    2. In the menu on the left, click on Emails.

    3. Hover over the Email Notification and click on the Pencil icon to edit it.

    Email notification: Capitalize an entire word of the field input Image 1 Screenshot 30

    4. Next, in the email notification's toolbar, click on the Source code button.

    5. In the Source Code editor, look for the field variable you want to capitalize all input, and enclose it inside a <span></span> tag.

    6. Lastly, use inline CSS inside the opening span using style="text-transform: uppercase;" and click on Save Email. The code should look like something like below:

    <span style="text-transform:uppercase;">{this_is_the_field_variable}</span>

    Email notification: Capitalize an entire word of the field input Image 2 Screenshot 41
    Give it a try and let us know if there's anything else we can help you with.

Your Reply