Jul 8th, 2011, 8:44 PM
(This post was last modified: Jul 8th, 2011, 8:55 PM by fraserkelly.)
(Jul 8th, 2011, 4:04 PM)Ben Wrote: Hey fraserkelly,
Sure, no problem! There's a couple of different solutions.
Does your form require javascript? If it does, a JS approach is probably the simplest.
So here's the thing: although you define a "Redirect URL" value in the Form Tools interface for the form, you can actually override it for any individual form by passing along a hidden field like so:
Code:<input type="hidden" name="form_tools_redirect_url" value="http://mysite.com/otherpage.php" />
So one solution is just just add some JS to your form that when the form is submitted, sets the appropriate URL in the field.
But if you want your form to work without javascript as well, you'll need to do it server-side. For this, you'll need the Submission Pre-Parser module:
http://modules.formtools.org/submission_pre_parser/
Let me know if you're interested in this method and I'll explain how to do it.
All the best!
- Ben
Thanks Ben. Appreciate your help. Could you please explain the pre parser solution. Hopefully this will be easier!
Thanks
Thanks Ben,
.
Your help is appreciated.
Could you please explain the pre parser solution? Hopefully this might be a little easier.
Thanks again,
Fraser
Thanks Ben,
.
Your help is appreciated.
Could you please explain the pre parser solution? Hopefully this might be a little easier.
Thanks again,
Fraser