close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

captcha sever validation and validation show if not woking.

Thread begun 4/13/2023 8:27 am by jhaa32156951 | Last modified 4/20/2023 12:57 pm by Ray Borduin | 397 views | 8 replies |

jhaa32156951

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.

Sign in to reply to this post

Ray BorduinWebAssist

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:
<?php

@session_start();
?>
Sign in to reply to this post
Did this help? Tips are appreciated...

jhaa32156951

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.

Attached Files
contact-cny-2.php
Sign in to reply to this post

Ray BorduinWebAssist

Try this one

Attached Files
contact-cny-2.php
Sign in to reply to this post
Did this help? Tips are appreciated...

jhaa32156951

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

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post
Did this help? Tips are appreciated...

jhaa32156951

Ok

Attached Files
contact-cny-2.php
Sign in to reply to this post

Ray BorduinWebAssist

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:
<?php

@session_start();
?>
Sign in to reply to this post
Did this help? Tips are appreciated...

jhaa32156951

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

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...