Force Uppercase Text in Email Reply

  • Profile Image
    hedgeprotect
    Asked on August 25, 2020 at 01:27 PM

    I have conditional logic to send an email reply upon firm submission.

    I need to use a couple of the {form field} entries in the email body. I need them to be displayed as UPPERCASE, regardless of how they were entered by the user.

    Is there a way to do this?

  • Profile Image
    yvette222
    Answered on August 25, 2020 at 02:11 PM

    Hi,

    If you go to a specific Form Element's properties, you can find under the Advanced option their Field Details. By finding their Field IDs, you can then add some custom CSS transforming your users' entries to uppercase letters.

    Please see example below:

    1598378536transform.PNG

    If you need to change more than one element's text to uppercase you can do so by typing all their ID's separated by a comma, like this:

     

    #input_21, #input_30, #input_40 {

        text-transform: uppercase;

    }

     

    Feel free to have a look at these articles explaining how to add custom CSS to your forms:

    https://www.jotform.com/help/75-Customize-Your-Form-Using-Custom-CSS-Codes

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

     

    Hope this information helps.

     

  • Profile Image
    hedgeprotect
    Answered on August 25, 2020 at 05:56 PM

    Thanks. Unfortunately, CSS only changes the input appearance. Using this method, the output data reverts to whatever case the user inputted.

    I need the output to be in uppercase when displaying the {form fields} in the auto-responder email and populating the database.



  • Profile Image
    gerardw
    Answered on August 25, 2020 at 10:19 PM

    To achieve that requirement, you may follow the instructions suggested by our colleague on this link: https://www.jotform.com/answers/2186037#2187074 

    Let us know if this helps.

  • Profile Image
    hedgeprotect
    Answered on August 26, 2020 at 09:30 AM

    Thanks gerardw. This is exactly what I need!