validate

Validates the Captcha remotely - triggers the validationHandler action.

Example

<input id="captcha" />
<script>
    var captcha = $("#captcha").kendoCaptcha({
        handler: "https://demos.telerik.com/kendo-ui/captcha/reset",
        validationHandler: "https://demos.telerik.com/kendo-ui/captcha/validate"
    }).data("kendoCaptcha");

    setTimeout(function(){
        captcha.validate().done(function (data) {
            console.log(captcha.isValid(), data);
        });
    }, 1500);
</script>

Returns

In this article
Not finding the help you need? Improve this article