How to enforce user to input in predefined format?

  • Valueserv
    Asked on May 17, 2017 at 3:34 AM

    I have inserted a number widget in my form. I want the client to type in their ID number that has 13 digits example: 5805103451097 but only limit them to enter 13 digits and no more. 

  • Ashwin JotForm Support
    Replied on May 17, 2017 at 4:51 AM

    Hello Valueserv,

    Yes it is possible to achieve your requirement. You need to add a textbox / Short Text Entry field instead of number field.  You can set the "Input Mask" ON and set it to accept number and match the format. Please check the screenshot below:

    How to enforce user to input in predefined format? Image 1 Screenshot 20

     

    You may like to take a look at the following guide which should help you:  https://www.jotform.com/help/381-Getting-Started-with-the-basics-of-Input-Masking 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!