What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Automatically capitalize letters on textbox and full name field

    Asked by jnoreman on July 15, 2017 at 03:57 PM

    How can I force capital letters and limit a field to two characters (like US States)?

    How can I create a telephone field that formats as 999-999-9999 rather than (999) 999-9999?



  • Profile Image
    JotForm Support

    Answered by EltonCris on July 15, 2017 at 07:47 PM

    1. We do not have this functionality yet but you can do this in the form level only by injecting a CSS code to your form.





    Where' #input_2 is the target field ID. 

    2. You can enable input mask on the textbox field and define the format you want.


  • Profile Image

    Answered by jnoreman on July 17, 2017 at 02:51 PM

    I did find the input mask later.

    I think you need to include the capitalization rules for your forms as soon as you can. I don't know CSS, can probably learn that, but capitalization (or lack of it) makes data collection inconsistent. Suggestion: Add that to JotForm. Thanks.

  • Profile Image
    JotForm Support

    Answered by EltonCris on July 17, 2017 at 03:14 PM


    By the way, I forgot to mention that you can also capitalize the first letter on email alerts too. It's easy, follow this guide: https://www.jotform.com/help/162-Capitalizing-the-First-Letter-of-Every-Field-Value-on-Email

    If you want to capitalize all the letters, use this workaround.

    Simply wrap the field variable you want to capitalize with the following.


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

    I'll also add this as a feature request.