Redirect after showing success message

You can set up the form to redirect after showing the success message, by adding the following code to the success message box in Settings → General → Successful submit options → Message.

1
23
<script type="text/javascript">setTimeout(function () {
    window.location = "http://www.example.com/page";}, 5000);</script>
<script type="text/javascript">setTimeout(function () {
    window.location = "http://www.example.com/page";
}, 5000);</script>
  • On line 2, change http://www.example.com/page to the URL of the page to redirect to
  • On line 3, change 5000 to the time in milliseconds to wait before redirecting, 1000 = 1 second

Still having trouble? Head over to the forums.

Forums