Contact form doesn't seem to send, on iPower
I took the contactus.php form, and set it on my web site. When I hit submit, the form resets, but I don't get a thank you note, or an email. I have my site php set at php5. please check contactus.php
I took the contactus.php form, and set it on my web site. When I hit submit, the form resets, but I don't get a thank you note, or an email. I have my site php set at php5. please check contactus.php
It looks like you have removed the captcha and security question, Did you also remove the validation code for those elements?
see the "How to remove security features from your Contact Form" tutorial in the How To section of the contact Form Solution pack support page:
contact-form/
Yes, I went through and got everything it said...still no result
please post a copy of your page.
you need to remove lines 17 and 18:
$WAFV_Errors .= WAValidateLE(((isset($_POST["Security_code"]))?strtolower($_POST["Security_code"]):"") . "",((isset($_SESSION["captcha_1"]))?strtolower($_SESSION["captcha_1"]):"") . "",true,4);
$WAFV_Errors .= WAValidateLE(((isset($_POST["Security_question"]))?strtolower($_POST["Security_question"]):"") . "",((isset($_SESSION["random_answer"]))?strtolower($_SESSION["random_answer"]):"") . "",true,5);
these vaidate the security form elements you removed.
OK, great. That fixed it so that it sends the email and goes to the thank you screen. Now...how do i get it to go from the thank you screen back to the web site after a few seconds?
use the javascript setTimeout function on the onLoad event of the body tag:
<body onload=setTimeout("location.href='http://www.yahoo.com'",10000)>
<!-- time is in miliseconds 10000 is equal to ten seconds -->
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.