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

    PIN Validation Before Submission

    Asked by xDiiThy on January 18, 2017 at 11:00 PM

    Hello,

     

    On my current form I would like for the Enter Your PIN field to not allow for the form to be submitted if a specific PIN number is not entered into the field. I have tried the conditions value to require that field if the specific PIN is not entered but it does not work and allows the form to submit with any code entered into the field. I want only one specific PIN to be entered to allow the form to be submitted if it is not entered correctly I do not want the form to submit.

     

    Thanks,

  • Profile Image

    Answered by Ian on January 18, 2017 at 11:35 PM

    I cloned the form at https://form.jotform.com/70179263989977 , added a Form Collapse field and applied condition 

    You can clone the form from https://form.jotform.com/70179263989977

    The PIN to proceed is 12345 

    Though there's a little downside using this since the password created in the condition is visible in the form's source code. 

    There can be several other ways through which this can be achieved 

    https://www.jotform.com/answers/21374-How-can-I-password-protect-a-form

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    Let us know if you have more questions.