Password protect form through condition

  • VolleyballQLD
    Asked on October 16, 2016 at 7: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

  • Elton Support Team Lead
    Replied on October 16, 2016 at 7: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. 

    Password protect form through condition Image 40

    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 Screenshot 51

    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 Screenshot 62

    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 Screenshot 73

    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 Screenshot 84

    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 Screenshot 95

     

     

    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.

    Password protect form through condition Image 1 Screenshot 106

    Then create the conditions like the following.

    Password protect form through condition Image 2 Screenshot 117

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

    Password protect form through condition Image 3 Screenshot 128

    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.

  • Nur Karabağ JotForm Developer
    Replied on August 20, 2019 at 8: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. 

    Password protect form through condition Image 10

    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 Screenshot 21

    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 Screenshot 32

    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 Screenshot 43

    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 Screenshot 54

    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 Screenshot 65