Greetings to you, I am using Formmail PHP Version 5.0. I have gone over the instuctions and have changed all the recipients, referers and such to make it work. I am successfully getting emails from the form...the only thing I CANNOT do is change the redirect page from the default "Thank you for your submission" to a custom thankyou.html, BUT! I already DO have the "redirect" code in place....it still shows the default thank you message. Any ideas? Thanks in advance!
Damon
Contact Information:
* = Required Field
* Name:
* Address:
* City:
* State:
* Zip:
* Phone:
* Best Time to Call:
* Email:
Type your question or request in the box below:
redirect response page
Have you figured this out yet?
I'm having a similar issue....and posted a question last week..(no replies).
The one difference between your issue and mine, is that my response page is a (white) page....with no source.
My email is sending correctly.
So if you've figured it out..please post/respond.
thx!
Redirect to Custom thank you page
I am interested in a solution too!
try this
in the form page just put the tag
and load the thankyou.html page into your server, it should work, thats what i use and it works fine.
Redirect to Custom thank you page
That didn't work for me.
ditto on the formmail.php
I've further tested the settings on a different host, same results.
I *do* get the emails, but none of the scripts related to my hidden fields are running. It doesn't check the hidden fields, doesn't redirect to the the right page, doesn't put the correct subject in the email.
It sends the email and goes straight to the "Your submission has been sent." (built into the script)
I even went so far as to copy the entire source code from a working form and changed the code to reflect MY copy of the formmail.php file and I STILL have the same problem.
So, either we're all having the same syntax problems (I've tried my form in both html and php) or we all have hosting companies that don't fully support the code used in this latest version, OR we all got a copy of the formmail.php that is missing a critical piece of code.
to damon: your file: http://www.artstudiotour.com/thankyou.htm isn't there. just putting that addy in my browser gave me a 404 file not found error.
Redirect to Custom thank you page
Can one of you setup a PHP script that contains:
<?PHP
phpinfo();
?>
And send me a link to it. This should help me find the problem.
-Andrew M Riley
still need help with redirect
I've created the phpinfo at http://www.indexernow.com/contact/phpinfo.php.
Do I need register_globals set to on? If so, what is affected?
Thanks,
Jane
Solution: DUMP Jack's Formmail & use Andrew's Formmail C
Though it's a little confusing because they are both based on the same original cgi script, I finally realized that I (and I think several other folks) are using Jack's Formmail and not Andrew's Formmail Classic. Make sure you download the script from this site and use it. There's no forum on Jack's anymore and only paid support.
I switched to CLASSIC and started with a blank page. Got it to work with just basic stuff, then added one additional optional hidden scripting field at a time. Once the functionality was "fixed," I put the form into my web template (an html doc). Works just fine now! All the emails are delivered, the required fields demand to be filled in, the redirects work, the email "from" appears correctly and the subject reads like it should -- and best yet, the client is happy.
My first mistake was misusing the info in the recipient array. Once I got the "aliases" in and correctly reference them from the form I was on my way. Honestly, I never figured out why Jack's script didn't work. But Andrew's does and that's what people need to know! (BTW, donation is forthcoming, Andrew)
FIX - Enable Registered Global Varible in Apache/PHP
I encountered the same issue...
FIX
Enable Registered Global Varible in Apache/PHP (or ask your host to).
HELP on Thank You Page I
HELP on Thank You Page
I have read this entire thread on trying to use a custom Thank You page after submitting the form. I still have no idea how to fix this. My form is here: http://www.dpowermedia.com/contacts.php and the page I want it to display after the form is submitted is here: http://www.dpowermedia.com/thankyou.html. I don't want it to post anything there, just to show that page. Emails are being received - no problem there. Please help?!?!?!
Thanks :D
try adding ../ before the
try adding ../ before the name of the page you are redirecting to. If your scripts are in a folder (generally a good idea for neatness) then you need to tell the script to go up a level to find the "thank you" document.
I've found it is usually
I've found it is usually best to call out the full url to the thank you page in your form code. Like...
< input type="hidden" name="redirect" value="http://mysite.com/thank_you.htm/" >
Some hosts seem to ignore a ..directory/page called out of a script for some reason, especially if the script resides in a locked down folder like the cgi-bin.
-Scott