validate

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.

Example - subscribe to the "validate" event during initialization

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

  <script>
    // attach a validator to the container
    $("form").kendoValidator({
        validate: function(e) {
            console.log("valid" + e.valid);
        }
    });
  </script>

Example - subscribe to the "validate" event after initialization

  <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) {
        console.log("valid" + e.valid);
    });
  </script>
In this article
Not finding the help you need?