Password Protect Forms

  • kpaterson
    Asked on December 28, 2016 at 4:41 PM
  • Support_Management Jotform Support
    Replied on December 28, 2016 at 5:49 PM

    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 Forms Image 30

    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 41

    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 52

    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 63

    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 74

    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 85

     

     

    Just a gentle reminder, you can't use password fields on your form. This will be in violation of our Terms of Service.

    What you can do as an alternative is to use some sort of access code. Remember, don't use the following words as labels - password, username, login, etc. as it might trigger our anti-phishing system.

    Here's a sample form I created https://jotform.com/62105337509957

    To achieve this, you'd essentially need the following:

    1. A Textbox that will serve as your input for the access code

    2. Form Collapse tool

    3. Conditional Logic to hide/show the Form Collapse tool

    One practical application of this demo form is for voting, so only those who have the "access code" will be able to vote.

    To test my form, type in "passcode" (without the quotes) to see the entire form.

    This was how I set it up:

    Password Protect Forms Image 1 Screenshot 96

    1. On your FORM BUILDER, click BASIC FIELDS > drag a TEXTBOX to your form and label it as Access Code

    2. Click SURVEY FIELDS > drag a FORM COLLAPSE tool to your form. You can label it anyway you want. I named mine Collapse

    3. Then build your form as you see fit

    (NOTE: Just to reiterate, don't use "Password" as your label in your form. You can use any other label like "Code", "Key", "Authorization", etc. In my example I used "Access Code". It's because we have an automated anti-phishing system in place which scans all forms and mark them with probability of being used for phishing activities)

    4. Now here's how the Condition was setup:

    Password Protect Forms Image 2 Screenshot 107

    What this essentially means is that IF Access Code IS EQUAL TO "passcode" THEN SHOW the COLLAPSE field (and everything underneath it).

    Related guide: Smart-Forms-Using-Conditional-Logic 

    If you wish to clone my form, here's how so you can have a closer look on how it was setup.

    Give it a spin and don't hesitate to get back to us if you have further questions.

  • Nur Karabağ JotForm Developer
    Replied on August 29, 2019 at 4:11 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 Forms 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