Password protect form through condition

  • Profile Image
    VolleyballQLD
    Asked on October 16, 2016 at 07:11 AM

    Hi jotform, Jill here.

    How do I get the PIN solution as described earlier in this discussion by stekubi on May 28 2015.

    Hopefully such a solution is available.

    Thanks

  • Profile Image
    EltonCris
    Answered on October 16, 2016 at 07:48 AM

    UPDATE (August 20, 2019): Password protection feature is available now. 

    Here is how it works:

    1. Open the Form Builder and find the Enable Password Protection option under the Settings tab. 

    15662961281.png

    2. If you select this option, you should set a password for the form. If you don't set any password, the Enable Password Protection option will be unselected.

    1566296147Screen Shot 2019-08-20 at 10.4

    3. When you set a password for the form, a person who wants to open the form will see this page:

    1566296207Screen Shot 2019-08-20 at 10.5

    4. If the person enters the incorrect password, s/he cannot open the form and will see this warning:

    1566296231Screen Shot 2019-08-20 at 10.5

    5. If the person enters the correct password, s/he can open the form and submit it. However, if you (form owner) change the password after s/he opened the form, s/he cannot submit the form and will see this warning:

    1566296247Screen Shot 2019-08-20 at 10.5

    6. You can reset the password by clicking on the RESET PASSWORD button or unchecking the Enable Password Protection option.

    1566296263Screen Shot 2019-08-20 at 11.0

     

     

    Hi,

    Stekubi's solution in the other thread can be achieved using matrix field and conditions.

    I suggest you clone his form http://form.jotformeu.com/form/51472607309354 so you can check the fields setup and its conditions.

    So basically, you will need to have a textbox field which will serve as the output field, a matrix field and form collapse to group the fields you want to display.

    Then create the conditions like the following.

    Next is to set the PIN. Here's the 2nd condition looks like

    This shows the form when the checkboxes checked are 1579.

    To explain, the output format of the matrix checkbox is like the following.

    0000000000

    You only have to replace the zeros with its equivalent number in place. Example, if your PIN is 1249, you need to use the following in the condition.

    1204000090

    Hope this helps. If you need further clarifications, let us know.

  • Profile Image
    nelly
    Answered on August 20, 2019 at 08:46 AM

    UPDATE: Password protection feature is available now. 

    Here is how it works:

    1. Open the Form Builder and find the Enable Password Protection option under the Settings tab. 

    15662961281.png

    2. If you select this option, you should set a password for the form. If you don't set any password, the Enable Password Protection option will be unselected.

    1566296147Screen Shot 2019-08-20 at 10.4

    3. When you set a password for the form, a person who wants to open the form will see this page:

    1566296207Screen Shot 2019-08-20 at 10.5

    4. If the person enters the incorrect password, s/he cannot open the form and will see this warning:

    1566296231Screen Shot 2019-08-20 at 10.5

    5. If the person enters the correct password, s/he can open the form and submit it. However, if you (form owner) change the password after s/he opened the form, s/he cannot submit the form and will see this warning:

    1566296247Screen Shot 2019-08-20 at 10.5

    6. You can reset the password by clicking on the RESET PASSWORD button or unchecking the Enable Password Protection option.

    1566296263Screen Shot 2019-08-20 at 11.0