This documentation page is for Quform version 1 and may not be applicable for Quform 2 click here to visit the documentation for Quform 2.
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