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

    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

  • Profile Image
    JotForm Support

    Answered by Chriistian on July 12, 2016 at 04:13 AM

    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.