PDA

View Full Version : How to add a 'Thanks for your email' type page



aytactekin
12-27-2006, 10:36 AM
I want to be able to direct people who contact me via my 'Contact Me' link to a thank you page. For example i want people to email me and then once they do, to direct them to a Thank You page.

Additionally, if they cant fill in the information on the contact form correctly i also want to be able to direct them to an "error page"

Please visit my site http://www.wealthy-prick.com/contactme.html to see what i am talking about.

If somebody could assit with this i would honestly appreciate it very much.

Thanks

davidundalicia
12-27-2006, 11:32 AM
Download my FREE contact form and you will be able to see the code to accomplish the error routines, its quite simple.
example:

// error checking
if (strlen($firstname) == 0 )
{
header("Location: name_error.html");
exit;
}
if (strlen($lastname) == 0 )
{
header("Location: name_error.html");
exit;
}

See the whole script to put the above code in context.

aytactekin
12-28-2006, 09:51 AM
Thanks for your reply davidundalicia. I have already downloaded your Zip file but to tell you the truth its still too hard for me. The reason is i already have a form set up and error page the way i want it however, i find it hard to incorporate your code into what i want. Not because your code is too confusing but because im new to all this.

Is anybody out there willing to do this for me for a price? Please im desperate :-(

davidundalicia
12-28-2006, 10:29 AM
Email me from any of my contact pages, and I will do it for you
(see my websites below)

aytactekin
12-28-2006, 01:25 PM
Thanks for that David............muc appreciated. I have emailed you through your http://weddingdressmarket.co.uk/ site.

Hope to hear from you soon.

davidundalicia
12-28-2006, 02:59 PM
aytactekin:

Your new contact form has been completed and tested. you may now view and test it yourself at the link that I have just emailed to you.