Print Page | Close Window

Form still sent if CAPTCHA is wrong

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz CAPTCHA
Forum Description: Support forum for the Web Wiz CAPTCHA security image.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25134
Printed Date: 29 March 2026 at 3:12am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Form still sent if CAPTCHA is wrong
Posted By: Andy Rowland
Subject: Form still sent if CAPTCHA is wrong
Date Posted: 11 January 2008 at 12:31am
I have an email form with CAPTCHA. When the form is submited it is redirected to the send email page which includes the CAPTCHA proccess code. If the code has been entered incorrectly it says so but the email is still sent.
What went wrong?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 11 January 2008 at 9:36am
You need to tell it what to do if the code is incorrect, ie. stop processing the rest of the code.

If you follow the simple install instructions it tells you how to set it up to redirect to a new page if the code is incorrect. Using this you could redirect to a page which says that the CAPTCHA is incorrect.

The other option with the advanced instructions is to surround your code in If...Else.End If statements or use the following to prevent anymore code from processing:-

Response.Flush
Response.End


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Andy Rowland
Date Posted: 12 January 2008 at 12:12am
Thanks for the help.
Now got it working as needed. Thumbs%20Up



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net