
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
If you don't find the answer to your question in these archives, ask your CGI question at the Current Master Series CGI Forum.
| Author | Message |
|---|---|
| 20Feb02 Brandon |
Subject: After my customers click Submit they don't go to my Order Confirmation page I am using a cgi script that mails the form results to my e-mail address for me. I have an order confirmation page that I want customers to go to after clicking Submit and it keeps taking them to my cgi form mailer page instead. How can I fix this? |
| 20Feb02 Will |
In response to: After my customers click Submit they don't go to my Order Confirmation page Brandon, for a definitive answer I would need the URL of your form and possibly a copy of your script. However, you might be able to find the answer yourself. Installation instructions are usually in a README file or in the script itself. See what you can find related to "redirect" or "thank you" pages. It might tell you what you need to know. Check the hidden fields of your form. Form field names, especially those that the script will work with directly, are case sensitive. A typo could cause the behavior you describe. If all else fails, scan the script for a line that begins with print "Redirect: Make a backup copy of your script first. Then edit that line to: print "Redirect: http://yourdomain.com/page.htm\n\n"; Replace the URL above with the page where you want the form user to go. Make sure the \n\n"; follows the URL. It's possible your script doesn't use the Redirect: statement. But if it does, give the above a try. If it doesn't work, simply restore the script with your backup. |