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: "captchaImage.png",
                ID: "1234"
            });
        }
    });
</script>

Example - ajax

<input id="captcha" />
<script>
    $("#captcha").kendoCaptcha({
        dataCaptchaIdField: "ID",
        handler: "url-to-reset" // Response should return captcha and the ID
    });
</script>
In this article
Not finding the help you need? Improve this article