After a form is submitted there is a message at the bottom of the page that says the form was successfully submitted. Well, usually – sometimes there is an error message.
Recently someone asked me if the form could redirect to a thank you page. Here’s how you do it.
- Make the thank you page.
- Make your contact form or use an existing form
- At the bottom of the contact form settings page is a section called Additional Settings with a big text block.
- In that area add the following:
on_sent_ok: "location.replace('http://www.YOURSITE.com/name of page');"
- Change http://www.YOURSITE.com/name of page to the url for your page.
You will still see the thank you message at the bottom of the page but the page will quickly redirect to the new thank you page.
photo credit: wwworks