Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
560
Cannot get WebCaptcha control to validate using client-side code
posted

I am trying to use the WebCaptcha control (version 13.1) with the validation of the users entry being done on the client side.

I have used the sample code from the Infragistics web site, which suggests the following should be done:

var captcha = $IG.WebCaptcha.find('WebCaptcha1'); // gets a reference to the WebCaptcha control
 
if (captcha.get_validationFailed()) // checks if the validation was successful on the server
{
}

However I am getting an error saying the the find method is undefined on the $IG.WebCaptcha object.

Any ideas what I am missing which is causing the find method not to be there?