Create a Custom Thank you page with Auto-redirect

Last Update: May 7, 2017

The following workaround will help you achieved the thank you message plus redirection to a page after form submissions.

A. Create your Custom Thank you page with the redirect script.

1. Open your favorite text editor such as Notepad.

2. Paste the following code and modify the values to your preferences (colored blue text). Get the codes here:

3. Save it as HTML file e.g. thankyou.html

4. Upload this file to your server.

B. Set the thank you HTML as your form's Thank you Custom URL.

1. Click SETTINGS from the navigation bar of the builder page.

2. From the side panel select THANK YOU PAGE

3. Click "Redirect to external link" option and enter the URL of your HTML file.

4. Click the "Save Changes" button to save your form.

Demo (submit this form): If you have questions, feel free to post it below.


magicjack335 (June 03, 2011 at 09:24 AM)


I tried to edit the HTML with your editor so that I could redirect anyone who submits a form back to my page however I am not sure what I am doing wrong, I follow your instructions but when I have done a few test submits it doesnt seem to work.

I notice when I go into the text editor, after changing it, the HTML looks the same, after saving it, should it look changed..?



View Answer

padmavathi (September 26, 2014 at 01:34 PM)

it is very useful

sriraga (February 10, 2015 at 01:58 AM)

Thanks for the Useful Tip

suganya (May 14, 2015 at 06:14 AM)

so good

Pharma827 (May 24, 2015 at 07:22 AM)

Very nice site! cheap goods

Pharme50 (May 26, 2015 at 06:16 AM)

Very nice site!

akbar (July 20, 2015 at 06:37 AM)


AmSteve (July 29, 2015 at 09:12 PM)

Is it possible to include the name/value pairs in the same fashion as when prepopulating a form for input?

View Answer

ashwini (November 03, 2015 at 05:29 AM)


Free Games Download (January 07, 2016 at 10:16 PM)

Survey responses are submitted when a respondent clicks the Done button on the last page of your survey—respondents don t need to click the Done button on the page with your Custom Thank You to submit their responses.

View Answer

carolinasuccessteam (April 03, 2016 at 04:27 PM)

my webpage will not redirect, i thouhght I did it right..:( the form in the middle of the page...THANKS!

View Answer

ksesock (August 07, 2016 at 10:49 PM)

I'm trying to do this on a Conditional Thank You page, in other words, one where the user is diverted based on a condition on the page, and every time I try to save the Javascript, it disappears. Is this no longer possible?

View Answer

UBTMarketing (August 15, 2016 at 04:59 PM)

Hello JotForm,

hoping you can help me here... is there any way we can have it come up with the thank you message (that looks nice, not just plain text) and then it auto -redirects to our webpage?

View Answer

Kevin Robertson (April 11, 2017 at 12:16 PM)


Send Comment