dataCaptchaField String
(default: "captcha")
The field that returns the captcha's image source. Used in the handler
function/response that resets the captcha's image and id.
Example
<input id="captcha" />
<script>
$("#captcha").kendoCaptcha({
dataCaptchaField: "captchaImage",
handler: function (args) {
args.success({
captchaImage: "https://demos.telerik.com/kendo-ui/content/captcha/9deb39f5-ac2f-4ff6-8061-31ff656d3df6.png",
captchaId: "1234"
});
}
});
</script>
Example - ajax
<input id="captcha" />
<script>
$("#captcha").kendoCaptcha({
dataCaptchaField: "captchaImage",
handler: "https://demos.telerik.com/kendo-ui/captcha/reset" // Response should return captchaImage and the captchaId
});
</script>