Is there a way to prevent submission of the incomplete codes using input mask?

  • darrenchew
    Asked on July 12, 2016 at 3: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.

  • Chriistian Jotform Support
    Replied on July 12, 2016 at 4: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.

    Is there a way to prevent submission of the incomplete codes using input mask? Image 1 Screenshot 40

    3. Click on the Validation area and select Fill Mask.

    Is there a way to prevent submission of the incomplete codes using input mask? Image 2 Screenshot 51

    4. Close the settings and save your form to finish.

    The user should now receive the error below if the code is incomplete.

    Is there a way to prevent submission of the incomplete codes using input mask? Image 3 Screenshot 62

     

  • BeliBeli24
    Replied on April 22, 2017 at 5:22 AM

     

    how to do this on jotform V4
  • Helen
    Replied on April 22, 2017 at 6:41 AM

    Hello BeliBeli24,

    I've moved your question to another thread. You can follow your answer via this link: https://www.jotform.com/answers/1126070

    Please let us know if you need any further assistance.