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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to load new page after form submit...

Status
Not open for further replies.

emzadi

IS-IT--Management
Feb 13, 2001
69
US
Hey... I can't believe I can't find the answer to this anywhere... one of those "duh" days...

How in the world do I get a "Thank You" page to load after the user clicks submit to email me their response?

The following are samples of my beginning and ending code:

<form name=&quot;contactform&quot; method=&quot;post&quot; action=&quot;mailto:me@there.com?Subject=Website Response&quot; Enctype=text/plain>

<input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Submit&quot;>

Thanks!
Susan

Susan M. Wagner
LAPELS
 
in your form tag try:
<form name=&quot;contactform&quot; method=&quot;post&quot; action=&quot;mailto:me@there.com?Subject=Website Response&quot; Enctype=text/plain onSubmit=&quot;document.location='thanks.html'&quot;>
in case you didnt notice, the stuff in bold is what i added :) Suceess, thats the way you spell success!
Got a question? Ask IMOZRMY!
 
You're wonderful!!!

Thanks so much!

Susan. Susan M. Wagner
LAPELS
emzadi1@yahoo.com
susanw@lapels.com
 
no problem. :) Suceess, thats the way you spell success!
Got a question? Ask IMOZRMY!
 
Or alternatively after the first lines of your form:

< INPUT TYPE=&quot;HIDDEN&quot; NAME=&quot;redirect&quot; VALUE=&quot;thanks.htm&quot; >


É **new site coming soon**
**don't visit just yet**
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top