New to Kendo UI for jQueryStart a free 30-day trial

Validate

events

Fired when the validation of the form completes.

The validate event will not fire while chaning individual input values.

The event handler function context (available via the this keyword) will be set to the data source instance.

Event Data

e.sender kendo.ui.Validator

The validator instance which fired the event.

e.valid Boolean

True if validation is passed, otherwise false.

errors Array

The validation errors.

  <form>
    <input name="username" required /> <br />
    <button id="save">Save</button>
  </form>

  <script>
    // attach a validator to the container
    $("form").kendoValidator({
        validate: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log("valid" + e.valid);
        }
    });
  </script>
  <form>
    <input name="username" required /> <br />
    <button id="save">Save</button>
  </form>

  <script>
    // attach a validator to the container and get a reference
    var validatable = $("form").kendoValidator().data("kendoValidator");

    validatable.bind("validate", function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
        console.log("valid" + e.valid);
    });
  </script>
Not finding the help you need?
Contact Support