New to Kendo UI for jQuery? Start a free 30-day trial

DataCaptchaIdField

configuration

The field that returns the captcha's id. Used in the handler function/response that resets the captcha's image and id.

Default: "captchaId"

<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>
pseudo
    <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>
Not finding the help you need?
Contact Support