PDA

View Full Version : Multi replies for multiple Form submission...



cinch
10-01-2007, 03:47 PM
How to generate different replies for different forms? eg. I require:

1) A thank you message for those signing up to get my e-newsletter updates

2) A thank you note for submitting an enquiry from "Contact Us" tab

Terence Tan
www.activewearcompany.com (http://www.activewearcompany.com)

Watdaflip
10-01-2007, 04:02 PM
That would depend how your script is setup. If you script has a redirect to another page just change the page where it redirects. Otherwise if after the script is executed it just stays on that page, you can echo a message, just add something like this to the script

echo "Thank you, we will get back to you asap";

navaldesign
10-02-2007, 04:58 AM
You can use different php scripts for each form, if you use the tutorial method, where each thank you page has it's php script embedded. Or, you can install ABVFP which will allow you to define for each form, the thank you page where the user will be redirected.