How do I set a character limit in a text field so that it can't be less than 6 or more than 6?

  • DavidSuzukiSS
    Asked 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.

     

     

  • Charlie
    Replied on January 20, 2017 at 1: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.

    How do I set a character limit in a text field so that it cant be less than 6 or more than 6? Image 1 Screenshot 30

     

    Here's how it looks like in action:

    How do I set a character limit in a text field so that it cant be less than 6 or more than 6? Image 2 Screenshot 41

     

    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.