How Can I Ensure That Users Enter the Full Number of Characters Specified in the Input Mask Settings for a Field?

  • Profile Image
    criterions
    Asked 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
    abajan
    Answered 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.


    Cheers

  • Profile Image
    criterions
    Answered 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.

     

    http://www.jotform.com//?formID=51343415149148

     

    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
    Welvin
    Answered 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.

    Thanks