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 do I set a character limit in a text field so that it can't be less than 6 or more than 6?

    Asked by DavidSuzukiSS on January 20, 2017 at 12:15 PM

    I need to create a text field that must be 6 digits in length.  I do not want entries more or less than 6, but I'm having trouble using the text character limit function.



    Page URL:

  • Profile Image
    JotForm Support

    Answered by Charlie on January 20, 2017 at 01:39 PM

    I presume what you want to do is set a specific character limit, is that correct? In that case, you can use the "Input Mask" on a "Text Box" field instead.


    Here's how it looks like in action:


    You can also try this widget that we have: https://widgets.jotform.com/widget/masked_input. To add a widget on your form, you can follow this guide: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form 

    I hope that helps.