captcha sever validation and validation show if not woking.
Ray: trying to add captcha to form. server val and showif not working. Email is being sent upon form submission. Have attached php file. Thanks for your help.
Ray: trying to add captcha to form. server val and showif not working. Email is being sent upon form submission. Have attached php file. Thanks for your help.
It should work the way you have it. Can you attach the most recent version of the page for me to look at? Maybe you just need to manually start the session just above the server validation code like:
<?php
@session_start();
?>
Thanks for your reply. If the wrong code is entered the validation show if works and the "Invalid information, please check your entry and try again" message shows under the input field, but when the correct code is re-entered and submitted the form does not clear and of course the invalid information text along with all the other form info is still visible. I need the form to clear Find the latest version of the page attached.
downloaded the file you posted. Same result: if incorrect error code is entered first the error message shows as it should. THen if the correct error code is entered and submitted the email is sent but the form doesn't clear so the error message is still showing along with name, email, phone and message.
see attached pic
It looks like it would work to me. Please attach the current version of the page. Can I get FTP access and a URL to test live? That would let me test and fix it more quickly.
I couldn't get the FTP information to work. I did take a look at the page and it doesn't seem like you followed my earlier advice. Please try adding this after line 2:
<?php
@session_start();
?>
Ray: sorry had too many versions and uploaded the wrong one. Now that i got the correct one with the added session_start it worked - Thanks
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.