JotForm User Guide / Advanced Features /

Change Thank You Page URL Based on a Condition

Change Thank You Page URL Based on a Condition

If you want to redirect users to another web page based on their answers on a form, you can do it with "Change Thank You URL" conditional logic.  Here's how you set this up in the form builder.

a. Click SETTINGS at the top.

b. Click on CONDITIONS, select CHANGE THANK YOU PAGE > then proceed to STEP C below.


c. Simply setup your conditional "Rule" ("IF" statements), select what form fields or inputs will the condition be triggered. After that, setup your "Actions" ("DO" statements), choose "Redirect to URL after submission". Here's an example:


d. Now enter the URL to where you want the user to be redirected after submission.


e. Save the form changes and that's it.

Here's a demo form: https://form.jotform.com/60984006883968 

If you have any questions about this method, please let us know by posting a comment below or by posting a question to our support forum.

Send Comment

22 Comments...

  • dominic.baum

    Hey there, this is a nice feature. But I've another question. How is it possible to pre fill out the redirected form (JotForm too), to input the submitted fields? We use it e.g.

    in the main form to ask whether the driver made an accident with our car. If he click on yes, we use the redirection via conditional logic to redirect to an special accident formular what was created with JotForm too.

    Most of the information we collect in the first form: e.g. driver name, license plate, ... now I will pre fill this infos via redirect to the second (accident report) form. How is it possible?

    Thanks for your help!

  • dclngo

    Hi, re 'Change Thank You Page URL Based on a Condition,' can I:

    1. setup my "Actions" ("DO" statements) to send URL in an email (instead of redirecting to an URL) after submission
    2. setup my conditional "Rule" ("IF" statements) to use inputs provided by the taker as condition for the IF statement. For example, IF Option1 THEN Email FormPassword1 and FormURL1, and IF Option2 THEN Email FormPassword2 and FormURL2.

    If so, how?

    Thanks
    David

  • jimedington

    We're using this with webhooks. Works great.

  • Powell_Mark

    Thanks! It works great.

  • LuziaRodrigues

    Não está dando certo o direcionamento da url. Como posso fazer?

  • danielfowler

    Comments don't seem to get much response, but I was wondering if it's possible to use one of the form values in the redirect URL?

    e.g. redirect to: https://example.com/thanks?for={forWhat}

  • Mark Komula

    Your demo form is over quota.

  • Anne DESPLANQUES

    J'ai réussi à configurer deux conditions différentes pour envoyer vers deux url différentes après remerciement en fonction de l'entrée "adresse mail" de mon formulaire, mais rien y fait, dans les deux cas la redirection s'effectue vers le même site.

  • Warsan saalax xuseen

    Thank you for your helpn

  • Harmony123

    I am trying to customize my Thank You page, however there is no Thank You page listed on the left bar when I go to Settings.

    Please let me know how I can get this to show up so I can then customize it.
    Thank you!

  • goberol

    I faced the same issue when trying to redirect to a custom page upon condition.
    I solved this postfixing the url with .html.
    eg: www.yoursite.com/customthankyou
    => www.yoursite.com/customthankyou.html

    The former brings me a blank page, the latter the right page. ;-)
    Looks like the specified url here are note handled the same way as the others (no rewriting)

  • cafetheory

    Hello, I have tried to set this up numerous time and my submission returns a blank page. I have embedded this code onto a Wix webpage per your instructions, the form comes up and operates correctly other than redirecting me to the desired URL.

  • teamfightingfit

    This doesn't work for me and it still goes to a thank you page. My form is here https://form.jotformeu.com/61673567939372

  • ecoroi

    Can the conditional form have a background that is an image?

    Would love to see some examples of conditional forms in action. Thanks!

  • holmster

    I've tried to redirect to an other form using the Thank you page, but it directs to a blank page.

  • FondazioneStepanZavrel

    ho il mio modulo e quando faccio per pubblicarlo il link non va .. come mai ? cosa devo fare?

  • SRWproducts

    Is there a limit on how many Change Thank You page URL conditions we can have?

  • Oxigenios

    Its possible make conditional bigger than or smaller than ( < > ) ?

  • SunbridgeInstitute

    It seems as though the instructions on this page are outdated. The "Conditions" no longer show the "change thank you URL" but rather it says "change thank you page." The new way is much better, but it's probably best to update your instructions.

  • SunbridgeInstitute

    The demo form provided at the end of this help post seems to be blank.

  • littlehand

    Hello Jotform I want both thank you page and redirect page within span of some time. Please help me and send me reply to venkataramana@bhavyatechnologies,com. It's very urgent.
    Thank You JotForm

  • ErinKopec

    Is it possible to add in a PDF instead of a URL?