How do you use the password tool to set a password that will redirect a person to another page?

  • Profile Image
    Sonya Trull
    Asked on June 19, 2012 at 11:53 AM

    I am adding a page to my website that needs password protection.  Will the password tool allow a person to enter a password that I have chosen and once the password is entered allow a person to view the webpage that is under password protection????

  • Profile Image
    jeanettebmz
    Answered on June 19, 2012 at 02:07 PM

    Hello Sonya

    Jotform does not allow login forms to be hosted into our servers due to our Terms of Use.

    However , you can create the form and add  conditional logics to

    1.validate the password field

    In order to do that you may use conditions to advance the user to the next page when the password he/she enters matches the password that you have set in your conditions (the next page can only contain the Submit button that will redirect to your page , see information in  point 2)

    In this screenshot below, I have implemented the opposite but equivalent condition, which is to prevent the user to go on when the password is not correct.

     

    We can add a Free Text tool saying something like "If you click Next and nothing happens, that means you entered an invalid password. Please try again." In order to inform the user why he cannot go on.

    Also, to avoid empty submissions when the  user presses Enter in their keyboard after they typed in the password, we set other fields in Page 2 as required.

    Here you have  working example.

    NOTE: this is a workaround, the password used for this solution is visible in the form's source code. However, You might  protect your source code to be viewed .


    2. Once the password is entered correctly, redirect the Thank You page to another webpage  .

    Once you have the form up and running, you would need to download its source code and delete it from your Jotform account. Otherwise your account would be suspended sooner or later by our automatic phishing detector system.

    However there are other ways to password protects your page, such as passing the password via URL parameters

     

    Hope you check all the guides (purple links) I have included for further details.

    However, if  you need further help, let us know. We are always happy to assist

    Jeanette