How To Prevent Captcha Validation?

hi, here’s the scenario of the problem

i have a form, it is using a CActiveForm, and the ajaxValidation is set to true.

the problem now is with the validation of the captcha box.

  • click inside the captcha input form, then immediately click outside the box ( just anywhere away from the input form, and don’t submit the form)… the captcha validation error gets triggered and comes out…so how do we disable the triggering of the captcha validation input box in that scenario without having to set the ajaxValidation to false?

check this link

http://www.yiiframework.com/forum/index.php/topic/21561-captcha-custom-validation/