faqts : Computers : Internet : Web : HTML : Forms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 25 people (20%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How do I redirect to a new page after my form is submitted?

Oct 25th, 2001 07:56
Ben Gordon,


There are several ways to do this one being the addition of a javascript 
redirect to the new page on the submit button something like this 
onclick="document.location.newpage.htm" or by using a form handler, to 
submit the data via the servers email system (this alleviates the 
problem of misconfigured email clients on the users end) and redirect 
the user all in one event.  If you have cgi-bin access you can find a 
variety of form handlers here 
http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Form_Processing/
if you have no cgi-bin access then try these 
http://cgi.resourceindex.com/Remotely_Hosted/Form_Processing/