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.
Configure the Handler as a Function
<input id="captcha" />
<script>
$("#captcha").kendoCaptcha({
validateOnBlur: true,
handler: "https://demos.telerik.com/kendo-ui/captcha/reset",
validationHandler: function (args) {
args.success(false);
},
});
</script>
Configure the Handler by Passing a Link
<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>