Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirect after form submission!!!

Status
Not open for further replies.

matrix07

Programmer
Mar 21, 2002
41
CA
hi all, this is what I need my form to do. On submit, it goes through all the validations and submits if nothing's wrong. What I want is I want to dislay a message on the form page to the user saying that the form was sent sucessfully. Then redirect them to their message. Is there like a aftersubmit event for a form? Not sure if this is possible because it would have to process the info on the asp page then redirect back to the form page. Then redirect it to the messages page. Hmm...hope I'm clear on this. Thanks.
 
Your easy bet and conventional way of doing this is to have the message saying thank you on the page the form is processed and have all redirection on that page.

For example if your form action is <form action=&quot;submit.php&quot;>

then on the page submit.php you would have a message that states &quot;thank you you will now be redirected to blablabla&quot;. Gary Haran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top