View Full Version : Form Submitted Page

07-17-2006, 06:13 AM
Hello all,

I have a basic form on my site that works fine but what I would like it to do when you click submit is to not only go to my email but also have a page that says something like "Request Submitted" or go back to my home page. Can anyone give me advice on how to do this?

Here is the form page:

07-17-2006, 07:06 AM
It's very easy if you have used a php script to process your form info: add this code

header("Location: confirmationpage.html");

just before the last line of your script (which should, at this ponit, look like


header("Location: confirmationpage.html");

You can change the page name from "confirmationpage.html" to whatever you like. You have to create and publish this "confirmation.html" page. Have a look at mine: www.navaldesign.info/thankyou_page.html (http://www.navaldesign.info/thankyou_page.html)

07-17-2006, 07:37 AM
hmmm...I'm not sure I'm getting where to put the code but I have made a confirmation page..
I put it here but its not working:

<FORM name="cmnow1" method="POST" action="mailto:belinda@bbdestinationexpress.com" enctype="multipart/form-data" "Location: submitted.html"

I know I'm missing something

07-17-2006, 07:47 AM
You have used the mailto: method to submit the form data. Please note that this method will not work with all your visitors, as it depends on the Outlook Express (or other email client) settings of your visitor. For many of them, it will simply openup Outlook Express, with NONE of the form info in it. Please read this first: Basics about Forms (http://www.vodahost.com/vodatalk/bluevoda-tips-tricks-shortcuts/4363-basics-about-forms.html)

then have a look at Andy's step by step tutorial on how to make your form work with a php script, in: http://netisopen.com/computer/web/webpagestuff.html

07-17-2006, 03:36 PM
Thanks NavalDesign,

I will have to look into this further. I just havent gotten it correct yet.

07-19-2006, 03:17 PM

I'm looking to do the same thing as Belinda and I have read your response to her but I'm still lost. Where exactly should I place that code you explained to her? I have created my forms on my website. My website is still in it's beginning stages but I would like to have a Thank you submission page as well, telling my potential customer their next steps. Also, to take it a step further, how would I go about having an email sent to their email account right after their submission to my site? Please advise.

07-19-2006, 03:59 PM

Look at the link below and it should make it clear. This incorporates a thank you page.

To send an e-mail to your customer stating that you have received the information and will get back to them- you will need to set up an auto-responder message in cpanel under webmail.