Forum Moderators: open

Message Too Old, No Replies

Return URL for form

How can I specify a confirmation page?

         

MatthewHSE

5:03 am on Dec 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm working on a simple form and would like to include a "thank you" page. I thought there was a way to specify the confirmation page in the HTML for the form itself, but after searching fruitlessly for the answer I'm about to conclude that this will require some scripting. Does anyone have any ideas? I'd really like to specify the return URL in the form's HTML if possible.

Thanks,

Matthew

tedster

5:15 am on Dec 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's going to take some scripting, but old favorites like formmail will allow you to enter the address of the acknowledgement page as a hidden variable in your form.

So even though it's using a CGI script, once you've got the script working you can change the URL for the thank you page without rewriting the script.