What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to password protect forms?

    Asked by Opelor on December 17, 2014 at 11:07 PM

    I want to use a code verification conditional so that only the approve codes can submit form entries. I want to use it like a user login. Can this be done?

     

    Thanks.

    verification setup user login thanks
  • Profile Image
    JotForm Support

    Answered by ashwin_d on December 18, 2014 at 06:05 AM

    Hello Opelor,

    Please be noted that we do NOT have any built in feature to password protect your form but with a little workaround, it is possible to achieve your requirement.

    You can take advantage of our "Conditions" feature to show / hide form fields based on the input of any text box which will work like a password protected form. Here are the steps your should follow:

    1. Add a "Form Collapse" field at the start and end of your form. You can set the "Visibility" of the form collapse as "Hidden" and the "Status" as "Open". Please check the screenshot below:

     

    2. Before the first form collapse, add a "Text Box" field where user can input the password. Please be noted that you should not use "Password" label in your form. You can use any other text like "Code", "key", "authorization". We have automated anti-phishing system which scans all forms and mark them with probability of being used for phishing activities.

    3. You can add condition in your form to check the input text of the text box. If the password matches, you can show the entire form collapse field which will in turn display all the form fields. Please check the screenshot below:

    Please take a look at the following demo form :  http://form.jotformpro.com/form/42291563960963? Feel free to clone this form for a closer look. The following guide should help you in form cloning:  https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!