- lsgagt2016Asked on September 29, 2016 at 02:26 PM
how to set a password when start a form?
- JotForm SupportdavidAnswered on September 29, 2016 at 05:02 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.
First, create the content of your form.
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.
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.
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.
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)".
Here's how the form works:
Here's the form I have used, please feel free to clone it so you can inspect it more.