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