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 I Ensure That Users Enter the Full Number of Characters Specified in the Input Mask Settings for a Field?

    Asked by criterions on October 08, 2015 at 04:54 PM

    Is there a way to ensure that fields with input masks filled out completely?


    Meaning, I have a text field with an input mask of "##########"


    I want to make sure that only numbers are added and that the length MUST be 10 characters long.

  • Profile Image
    JotForm Support

    Answered by abajan on October 08, 2015 at 07:41 PM

    Yes, that can certainly be done. In the Input Mask control, check the Fill Mask Validation box:

    and save the form.

    If you need more help with this, we'd be happy to provide it.


  • Profile Image

    Answered by criterions on October 09, 2015 at 08:25 AM

    Nope - at least for me, the fill mask check is completely and consistently ignoring validation. It ensure that the TYPE of character entered is correct, but not the length.




    The above form is an example. I can enter - for example - just the area code for the phone number and it allows that as a valid entry. As well, on page 2 of the form, I can enter portions of the DEA and NPI numbers and it will take it.

  • Profile Image
    JotForm Support

    Answered by Welvin on October 09, 2015 at 12:22 PM

    Your should make sure to check the "Fill Mask Validation" and that should require users to complete the field. I checked the form and you did not so I've fixed this for you.

    Please test the form again.