Results 1 to 4 of 4

Thread: thank you page

  1. #1
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default thank you page

    Could anyone help me with the following. I would like to open a thank you page upon submitting a form. Thank you.

  2. #2
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    <INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.mydomain.com/thanks.htm>
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by simonf
    <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.


    Quote Originally Posted by landrocket
    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.

    Mike

  4. #4
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    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
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •