Nov 11th, 2014, 12:40 PM
Is there a way to not redirect the user away from the current page? Ideally I would like to keep the user on the page and display a thank you message.
The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
|
No Redirect
|
Nov 11th, 2014, 12:40 PM
Is there a way to not redirect the user away from the current page? Ideally I would like to keep the user on the page and display a thank you message.
Nov 11th, 2014, 3:44 PM
Maybe have it redirect back to the same page with a string in the URL to activate the thank you message? Just a thought.
Check out the redirect URL in the documentation: http://docs.formtools.org/userdoc2_1/?pa...form_step2 "This is the URL of the "thank you" page, where users will be redirected to after they have successfully submitted the form. By default, a form has a single redirect URL which you should enter here. But here's a sneaky trick: if you actually need to redirect to different locations, you can just include a hidden field in your form with the name attribute: form_tools_redirect_url. Whatever URL you enter as the value in that field will override the value stored in the Redirect URL for your form. Additionally, if you want to redirect to different locations based on content from the actual form submission, check out the Submission Pre Parser module." |
« Next Oldest | Next Newest »
|