How can I conditionally redirect users to a different Thank You page URL

  • pcgmarketing
    Asked on December 22, 2017 at 1:48 PM

    Hi guys,

    I'm hoping this is simple but I am probably overlooking how to do this... I have a dropdown form with 3-4 states on it... depending on which state in the dropdown is chosen, when you his the submit button it will take you to  a state specific website... one singular URL per state option. 

    I think this is simple but I am overlooking something for sure. What is the easiest way to possibly do this?

    Thank you!

  • Support_Management Jotform Support
    Replied on December 22, 2017 at 2:47 PM

    You're correct - This can be easily achieved using CONDITIONS. In particular, what you're looking for is the CHANGE THANK YOU PAGE condition.

    How can I conditionally redirect users to a different Thank You page URL Image 1 Screenshot 20

    This was discussed in great detail on the article linked below.

    Complete guide: Change-Thank-You-Page-URL-Based-on-a-Condition 

  • pcgmarketing
    Replied on December 27, 2017 at 12:21 PM

    Great thanks!

    I have the conditions up and running... a couple issues I am still having which I also think are simple, but I am overlooking the CSS/code since there's probably a lot of unnecessary CSS in this form now: https://form.jotform.com/73555509893167

    I need the dropdown to span 100% of the form and I can't get that working.

    Also, the required message should span across/not be broken onto a new line, which I think will be fixed if the dropdown is properly displayed at 100% width.


    Thanks!

  • Ardian_L
    Replied on December 27, 2017 at 12:42 PM

    Please put this CSS Code in order to make both of them 100% of the width.

    div#cid_4 {

        width: 100% !important;

    }


    .form-error-message {

        max-width: 100% !important;

    }

    Let us know if you have any other question.

  • pcgmarketing
    Replied on December 27, 2017 at 1:01 PM

    Ardian,


    Looks great so far thank you!

  • Ardian_L
    Replied on December 27, 2017 at 1:13 PM

    You are welcome! Please let us know if you have any other question.