PDA

View Full Version : Thank You form



kietduo
11-27-2009, 02:06 AM
Hi All,

Bluehost has setup a thank you form to popup after a visitor hit send (or submit...) button in the contact form.
I like to have my own customized Thank You form, I already created one, but I don't know what scripts needed to write in the code so that my own Thank You form will work with my contact form?

I really need your help on this issue.

Thank You

MrDelish
11-27-2009, 02:02 PM
Assuming you are using the form found under cPanel -> Software/Services -> CGI Center -> BlueMail, this shows a line of optional code that uses a redirect. If you're using one of the other mail forms, that should also have a similar option for a redirect.

Justin
12-05-2009, 06:31 AM
I don't know the contact form you're talking about. To use your own thank you page, something similar to this code needs to be in your form process page:
echo '<meta http-equiv="refresh" content="0;url=thankyou.php" />';

That's assuming your custom thank you page is named "thankyou.php".

scifieric
01-11-2010, 12:28 PM
Hi All,

Bluehost has setup a thank you form to popup after a visitor hit send (or submit...) button in the contact form.
I like to have my own customized Thank You form, I already created one, but I don't know what scripts needed to write in the code so that my own Thank You form will work with my contact form?

I really need your help on this issue.

Thank You
I created a thank you page that I send my users to after they fill out a form.

I have written the steps in a little tutorial here:

http://www.bluehostforums.com/showthread.php?t=19367&highlight=cgiemail

Eric