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
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 04/25/2010, 7:23 AM |
|
morowind
Are you using the CCS captcha or another captcha tool?
|
 |
 |
morowind
Posts: 46
|
| Posted: 04/27/2010, 9:30 AM |
|
css captcha
|
 |
 |
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.
|
 |
 |
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
|
 |
 |