How to protect a form with password?

  • Profile Image
    FarmaciasDelPueblo
    Asked on August 10, 2016 at 12:32 PM

    Buenas tardes, quiesiera saber cómo generar una contraseña para que los empleados puedan tener acceso al formulario. Esto es para una actividad especifica e interna de la empresa y por eso queremos que los empleados a quienes les enviarmenos un código, sean los unicos que tengan acceso.

    Espero su respuesta

    Muchas Gracias!

  • Profile Image
    Kevin_G
    Answered on August 10, 2016 at 12:57 PM

    First off, I would suggest you to avoid asking for passwords os such, since it is not allowed at JotForm and although you're not trying to hack your form will be cataloged as phishing as it goes against our Terms of Use

    Now, regarding to your question, you can do it indeed, I would suggest you to add a field at the top of your form, but avoid naming it like "password", "access code" or other similar words. 

    You cannot generate random values or passwords in the Form Builder, but you can set one code and give it to who you need to get access to the form. 

    You will need to use conditions to show the fields if the code entered is correct, here is a guide that will help you with more details about showing/hiding fields based on other answers: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer