JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Is there a way to prevent submission of the incomplete codes using input mask?Asked by darrenchew on July 12, 2016 at 03:05 AM
I uses ***-***-*** for my users to fill in our codes but there were cases where the 1st 3 digits were filed but the rest were blanks.
Is there a way to include a logic where we prevent submission of the incomplete codes.
This is a re-post of a comment on Getting Started with the basics of Input Masking
It is possible to require the user to fill the field based on the input mask. Simply follow the steps below:
1. Click on the gear icon on the top right of the field.
2. Select Edit Properties.
3. Click on the Validation area and select Fill Mask.
4. Close the settings and save your form to finish.
The user should now receive the error below if the code is incomplete.