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

    Can I protect a form with username and password?

    Asked by EDSBAU on September 12, 2016 at 03:19 PM

    Requiero que el formulario sea diligenciado solo a las personas que previamente les brinde un usuario y contraseña de acceso. es posible? Gracias

    a
  • Profile Image
    JotForm Support

    Answered by Kevin_G on September 12, 2016 at 06:06 PM

    It is not possible to protect a form that way, also it is not possible to use username and password fields in your form as this goes against our terms and your forms and account will be suspended because of that. 

    But there is a way to do it without going against our terms, you may use for a hidden field and pre-populate it via the URL, then show all the content in your form only if the hidden field is filled, here are the steps to do it. 

    First, add a Text Box field to your form and set it as hidden: 

    Once you have done this, add the needed fields to your form and add a condition, if the hidden field is equal to any value that you decide, then show all the content in your form: 

    On this guide you will find more details about hide/show fields based on other fields values: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    Then, you will need to pre-fill the hidden field with the value you have specified in your condition to show the fields, so the link that you will share should look like this: 

    https://form.jotform.com/62556683345969?hiddenTextbox=true

    As you notice the hidden field is being filled via the URL, the link to the form without that variable filled will not show the fields in the form, if you open the link above you will get the form as normal, but if you open the next link you will not get the fields. 

    https://form.jotform.com/62556683345969 

    Here is also a guide that will help you to pre-fill form fields via the URL: Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters

    If you have any question, please let us know.