| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Flexible Form Script Extension: Redirect Form on Submission | |
|---|---|
| Tweet Topic Started: Jul 6 2012, 07:47 PM (1,482 Views) | |
| Cory | Jul 6 2012, 07:47 PM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Code Name: Flexible Form Script Extension: Redirect Form on Submission What the code does: This code works with Reid's Flexible Form Script and allows you to add a URL to redirect the form upon submission. How to use the code: Install as instructed, edit URL to the URL you want the form to redirect to after submission. How to install the code: Below the Flexible Form Script code:
Edited by Cory, Dec 14 2013, 03:11 PM.
|
![]() |
|
| Ferby | Jul 7 2012, 03:37 AM Post #2 |
![]()
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Actually this is very useful, thanks to the OP |
![]() |
|
| .Realm | Jul 7 2012, 04:59 AM Post #3 |
|
Crowd in the Face
![]() ![]() ![]() ![]()
|
Fancy, Cory! Nice job, Flexible form is one of my favourite codes and these extensions are really useful.
|
![]() |
|
| Geoffrey | Jul 7 2012, 10:20 AM Post #4 |
|
bury hatchets, keep maps
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
So this takes the user to the designated page after the form is submitted successfully? Just making sure, as the OP was a bit vague. |
![]() |
|
| Cory | Jul 7 2012, 05:00 PM Post #5 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
That is correct, once the form is submitted, it will redirect the user to a URL of your choice in three seconds. I made it three seconds after the form is submitted because if I didn't add a timeout the page would redirect before the form is submitted. |
![]() |
|
| Geoffrey | Jul 7 2012, 08:51 PM Post #6 |
|
bury hatchets, keep maps
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Is it possible that the form could take more than 3 seconds to send and therefore the user still not send in the form successfully though? Or does the form always send within 3 seconds if it sends at all? |
![]() |
|
| Cory | Jul 7 2012, 09:18 PM Post #7 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The form doesn't send within three seconds of submitting the form, the page is redirected three seconds after the form is submitted. |
![]() |
|
| Ferby | Jul 12 2012, 09:08 AM Post #8 |
![]()
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I recommend changing the 3000 to 5000. Sometimes it redirects too early and the form doesnt get submitted, its a pain |
![]() |
|
| Cory | Jul 12 2012, 09:48 AM Post #9 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I have changed it to 5 seconds, though I'm not sure if that will help. How long it takes to submit the form probably depends on browser and connection speed. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · ZetaBoards Codes & Modifications · Next Topic » |
| Track Topic · E-mail Topic |
2:54 PM Jul 11
|



![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)




2:54 PM Jul 11