FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Thank you Pages
#3
(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
Reply


Messages In This Thread
Multiple Thank you Pages - by fraserkelly - Jul 8th, 2011, 5:17 AM
RE: Multiple Thank you Pages - by Ben - Jul 8th, 2011, 4:04 PM
RE: Multiple Thank you Pages - by fraserkelly - Jul 8th, 2011, 8:44 PM
RE: Multiple Thank you Pages - by Ben - Jul 29th, 2011, 9:11 AM
RE: Multiple Thank you Pages - by Pauletteaters - Sep 19th, 2021, 10:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)