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 protect the form with a custom code?

    Asked by ktolliver on September 09, 2016 at 10:31 AM

    Can I create a form that only a certain customer can access?  I would like a certain customer to be able to order from a specific form but keep other customers from being able to utilize it.  Is there a way to create a form that has a logon required to use it?  Thanks in advance for your help and assistance.

  • Profile Image
    JotForm Support

    Answered by Kevin_G on September 09, 2016 at 12:08 PM

    So far there is not a way to password protect a form, but you can hide the fields in your form and still ask for some code to get the fields and submit the form, then if the entered code is correct show the fields so your customer can fill the form. 

    For example, you should add a Text Box field at the very top of your form followed by all the other fields that you need in your form: 

    Then you need to add the condition to show the fields if the entered word is correct: 

    But, please avoid to use words like password, passcode or similar, otherwise your account may be suspended because of phishing suspicious. 

    Here is also a guide that will provide you more details about showing or hiding fields based on other fields input / selection: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    Hope this helps.