View Full Version : thank you page

06-07-2006, 11:48 AM
Could anyone help me with the following. I would like to open a thank you page upon submitting a form. Thank you.

06-07-2006, 02:33 PM
<INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.mydomain.com/thanks.htm>

06-07-2006, 04:25 PM
<INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.mydomain.com/thanks.htm>That value attribute value must be quoted; slashes cannot appear unquoted. More to the point, adding that element won't magically make something happen. Sure, some form processors look for a 'ReturnURL' name/value pair, but I wouldn't go as far to say it was the norm.

I would like to open a thank you page upon submitting a form.There are two options, here. Either the form handler that recieves the request returns some content once it's finished, or it returns a HTTP status code that instructs the browser to look elsewhere; that is, it redirects. Whichever way it happens, this is entirely determined server-side, based on how the form processor was written. If you obtained it from some third party, it may provide a redirection feature, and may look for something like Simon suggested. Look at the documentation.


06-08-2006, 11:37 AM
Hi Mike

I never said it was the norm.. just gave an example of formmail, I agree with the quotes as you satated.. sorry about that :). This is a sample from one of the websites I did and it works 100%

<FORM ACTION="http://www.multinetproperty.co.za/cgi-bin/DavidGrant/formmail.pl" method="post" NAME="buyersform">
<input type=hidden name="recipient" value="office@davidgrantrealestate.co.za">
<input type=hidden name="subject" value="Home Enquiries">
<input type=hidden name="redirect" value="http://www.davidgrantrealestate.co.za/formthanks.htm">
<input type=hidden name="required" value="email,phone">

If your domain hosting company does not allow formail it would NOT work. Otherwise it's OK