PIN Validation Before Submission

  • xDiiThy
    Asked 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,

  • Ian
    Replied 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 

    PIN Validation Before Submission Image 1 Screenshot 40

    PIN Validation Before Submission Image 2 Screenshot 51

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

    PIN Validation Before Submission Image 3 Screenshot 62

    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.