validationHandler String|Function|Object
The URL, AJAX settings or function that validates the text input. When used with function, call the args.success
method with boolean value.
Example
<input id="captcha" />
<script>
$("#captcha").kendoCaptcha({
validateOnBlur: true,
handler: "https://demos.telerik.com/kendo-ui/captcha/reset",
validationHandler: function (args) {
args.success(false);
},
});
</script>
Example - ajax
<input id="captcha" />
<script>
$("#captcha").kendoCaptcha({
validateOnBlur: true,
handler: "https://demos.telerik.com/kendo-ui/captcha/reset",
validationHandler: "https://demos.telerik.com/kendo-ui/captcha/validate",
});
</script>