CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 ajax call validation for ccs captcha

Print topic Send  topic

Author Message
morowind

Posts: 46
Posted: 04/23/2010, 1:57 AM

someone experienced in captcha validation code ajax call?
or how can I check if the captcha code is good without giving refresh the page?
or what is the mechanism by which captcha code check?

Thanks in advance
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 04/25/2010, 7:23 AM

morowind
Are you using the CCS captcha or another captcha tool?
View profile  Send private message
morowind

Posts: 46
Posted: 04/27/2010, 9:30 AM

css captcha
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 04/27/2010, 6:40 PM

morowind,
Add the captcha to your form. Then click once on the add button (of the captcha control). In the Events tab (under Properties) add custom code to the On Click event. add code below:
if ($YourControlName->Validate = True)  
 {  
       Enter some code here  
 }

Basically, your just checking to see whether or not the validation (of the entered information) is true or false. Hopefully this helps.
View profile  Send private message
morowind

Posts: 46
Posted: 04/28/2010, 4:52 AM

I think I cannot explain clearly...
more simple :

I want to do:
through an Ajax Call to get a message
true if the captcha code is correct
false if the captcha code is wrong.

when subbmit is pressed trigger ajax call and get the message ->and fade in that message if is false ; submit form if message is true.

I manage all ajax validation calls (ex. email veriffications etc) and javascript validations for my form - except captcha.

So what should I do for that ajax call ?

thanks for your support
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.