Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Form still sent if CAPTCHA is wrong
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Form still sent if CAPTCHA is wrong

 Post Reply Post Reply
Author
Andy Rowland View Drop Down
Groupie
Groupie
Avatar

Joined: 13 July 2004
Location: London
Status: Offline
Points: 86
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andy Rowland Quote  Post ReplyReply Direct Link To This Post Topic: Form still sent if CAPTCHA is wrong
    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?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole
Status: Offline
Points: 9633
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Andy Rowland View Drop Down
Groupie
Groupie
Avatar

Joined: 13 July 2004
Location: London
Status: Offline
Points: 86
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andy Rowland Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2008 at 12:12am
Thanks for the help.
Now got it working as needed. Thumbs%20Up
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.


Become a Fan on Facebook Follow us on Twitter Connect with us on LinkedIn Community Forums Web Wiz Blogs Web Wiz News
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2020 Web Wiz Ltd. All rights reserved.