can i password protect a form

  • martinezjrj
    Asked on June 2, 2016 at 5:38 PM

    Looking to create custom forms for my customers and was wondering if i there's an ability to password protect forms.

    Thank you!

  • Mike_G JotForm Support
    Replied on June 2, 2016 at 9:08 PM

    Actually, there is no password protected option for forms here in Jotform. And, the word, "password", is also prohibited as the forms might be suspected of phishing activity by our anti-phishing system that may lead to automatic suspension of your account.

     

    However, there is a workaround that you can do that would work like "password protect" with the help of form conditions.

    Here's how:

    First, create the content of your form.

    can i password protect a form Image 1 Screenshot 70

    Once you have done that, add another textbox field above the fields of your form that will serve as the field where a code needs to be entered first to access your form. To avoid automatic suspension of your account, we advise you to use "Pin, Code or Key etc... instead of the word "Password" for the field label.

    can i password protect a form Image 2 Screenshot 81

    You will also need to have a Form Collapse to show/hide the content of the form as a whole and not per field. The Form Collapse is placed between the "Code" field and the rest of the form.

    can i password protect a form Image 3 Screenshot 92

    Then, set the Form Collapse's visibility option as hidden and its status as opened so that it will not show on the form and it is always open to show fields on the form.

    can i password protect a form Image 4 Screenshot 103

    Once you've done that, it's time for you to set up the condition that will show the fields of the form if the code is correct and will keep the fields hidden otherwise. The condition will state that "If Code(field value) is equal to 1234, show "Show Form (Form Collapse)".

    can i password protect a form Image 5 Screenshot 114

    Here's how the form works:

    can i password protect a form Image 6 Screenshot 125

    Here's the form I have used, please feel free to clone it so you can inspect it more.

    https://form.jotform.com/61538428746970

    If you have questions with any of the instructions given above, please do not hesitate to let us know.

    Thank you.