How to create a passcode form to enter a password that takes user to specific URL if code is correct?

  • Profile Image
    annettedusa
    Asked on February 26, 2019 at 03:44 PM

    Hello, I was wondering if this is possible with a Jotform - I was wondering if I could put a Jotform on a specific web page, then when the correct password is entered, it takes the user to a different web page?

    I can see where I can make a 2 page form, and use a condition that takes the user to, for example, page 2 of the form, but I'm wanting to take the user to a different web page when the correct password or condition is met.

    Thanks so much!

    Annette

  • Profile Image
    Jed_C
    Answered on February 26, 2019 at 06:15 PM

    You can do with conditional rule, however, user will still need to click on the submit button for him to be redirected to the URL.

    Reference guide: 

    Conditional logic: https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    Redirect to a different URL: https://www.jotform.com/help/38-Redirecting-Users-to-a-Different-Page 

    You can check my sample form here https://form.jotform.com/90566844749978.

    Let us know if you have any questions or if you need further assistance.

  • Profile Image
    annettedusa
    Answered on February 26, 2019 at 06:57 PM

    Thanks so much for responding, Jed_C. I think that would have worked just great, except I am working with Blocs on the mac and I just noticed, there was a little message box that said not to use javascript. UG!  The form/idea you sent worked great but is there a non-javascript version?  It says to only use html.

    Annette

  • Profile Image
    Jed_C
    Answered on February 26, 2019 at 08:15 PM

    Try embedding the form with iframe code and remove the script part https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code.

    1551230083Getting the Form iFrame Code -

    Let us know if that works for you. Looking forward for your response. 

  • Profile Image
    annettedusa
    Answered on February 27, 2019 at 03:09 PM

    Ok, I just got some clarification from Blocs and I'm able to put the javascript code in my Blocs document, I just need to uncheck a Preview button.

    This will work perfectly!  Thanks so much for the help. I've been looking for a solution to this issue for quite some time.

    Annette

  • Profile Image
    annettedusa
    Answered on March 26, 2019 at 03:39 PM

    Hi Jed_C

    Can I replicate your sample form above? Or can you send it to me?  I can't for the life of me figure out how to make this happen on my form. I've tried using Conditional logic, redirect to a different url in the Thank you page section, nothing works.

    Your sample form above is EXACTLY what I'm needing: https://form.jotform.com/90566844749978


    Thanks so much,

    Annette

  • Profile Image
    AndrewHag
    Answered on March 26, 2019 at 04:41 PM

    You can clone that form to your account.

    Here is the guide: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

  • Profile Image
    annettedusa
    Answered on March 27, 2019 at 02:14 PM

    Perfect!  Thank you so much for getting back to me so soon.

    Annette