This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Redirecting URL for few seconds
Started 15 years ago by boyconan90 | 4 posts |
-
Can we change redirecting url for a few seconds after submissions?
Posted 15 years ago # -
Do you mean you would like to display something like "Please wait...you will be redirected within 5 seconds" after form submission?
MachForm Founder
Posted 15 years ago # -
yes, I want to do that. any ideas?
Posted 15 years ago # -
That's quite simple, put this below into your form success message:
Thank you! Please wait...you will be redirected within 5 seconds. <script type="text/javascript">function delayedRedirect(){ window.location = "http://www.google.com" }; setTimeout('delayedRedirect()', 5000);</script>
Make sure the javascript redirect code above is exactly one line.
MachForm Founder
Posted 15 years ago #
Reply
You must log in to post.