close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

captcha not working

Thread began 5/22/2010 8:13 am by hbibizadeh396670 | Last modified 5/25/2010 2:04 pm by hbibizadeh396670 | 6160 views | 38 replies



At first glance, it looks as if your only problem is that the Captcha field is only being validated by spry validation (client side validation) with the only criterion being that it is 'required'. This means that as long as something is entered, the form will be allowed to send.You will need to add server side validation in order that whatever is input into the field is compared to the generated Captcha code, and only if it is the same will it be allowed to send.

This doesn't appear to have been added at the time you made the form, - i don't know why not - but you can add it now. You can either:

• Re-enter the CSSFormBuilder's UI and have it add a new Captcha field (might be easier to remove the existing one and add new one)
• Add server-side validation to the Captcha input field (double-click 'WA Server Validations' in the Server Behaviors Panel, and add Validation Type 'Like Entry' and for the Server Variable (lightening bolt) select the captcha field, or:
• Add the following code to the end of the server validations block of code at (about) line 19:

$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["fieldset_group_Security_code"])?$_POST["fieldset_group_Security_code"]:"")) . "",((isset($_SESSION["captcha_fieldset_group_Security_code"]))?strtolower($_SESSION["captcha_fieldset_group_Security_code"]):"") . "",true,9);

This is the first thing to try, there may be more. Add the server side validation, upload the page and post back with the results.

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





Ease of use


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...