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

    How can we set validation for capital letters only?

    Asked by agl42195 on October 27, 2015 at 09:55 AM

    how can I valid only capital letters in an specific field of my cuestionary.


    Page URL:

  • Profile Image

    Answered by Ben on October 27, 2015 at 12:47 PM

    If I understood you correctly, you are looking to have the field accept the capital letters only?

    Unfortunately that is not something possible to do through the form builder. What we can do is to help you have the text in that field shown as capital case through the use of CSS - although that would still cause the text in that field to be saved in the submissions as users added it, meaning that it is only for styling / formatting of your form.

    Another alternative is to use the source code of your form and have your developer create the specific functionality that would be checking if capital letters are the ones being added to the form, taking into account the characters of your area as well as any other that you want to allow to be accepted.

  • Profile Image

    Answered by agl42195 on October 27, 2015 at 01:31 PM

    Thank you. Exactly that is what I need. Accept only capital letters.

    If it can not be possible, how can I do the other case to shown as capital letters.


  • Profile Image

    Answered by Ben on October 27, 2015 at 03:08 PM

    To show the values as capital letters Ángel you should add the following CSS code to the bottom of all your custom CSS fields for your form as shown here: Inject Custom CSS Codes

    This is the code to add:

    #input_68 {
        text-transform: uppercase;

    As mentioned, in the reports it will be shown as the users added it at least not without some custom codding.

    Now if you are going to embed the form on your website, you could check out this guide for setting all characters as capital letters: http://www.jotform.com/answers/308351-How-to-capitalize-all-form-field-entries

    - While this thread was opened in regards to the emails, if such solution is applied to your form, your fields would be set as capital.

    I had also helped setting the capital letters in the emails here: http://www.jotform.com/answers/579753#579925

    Please do note that the code I had given above and this last link are two options that you can use and have everything done within the form builder, while the second option above is the code that as mentioned requires you to make the change in the source code of your form, meaning that any update in form builder will require you to make the changes to the code on your website and possible additional updates to the code, depending on the change.

  • Profile Image

    Answered by sabg.  on June 20, 2017 at 03:19 AM