hideValidationSummary

Hides the validation summary.

Example

<form id="myform">
    <input name="username" required /> <br />
    <button>Save</button>
    <button id="hide" type="button">Hide Summary</button>
</form>

<script>
    // attach a validator to the container and get a reference
    var validator = $("#myform").kendoValidator({
      validationSummary: true
    }).data("kendoValidator");

    // trigger validation to display the validation summary
    validator.validate();

    //hide the validation summary when hide button is clicked
    $("#hide").click(function() {
        validator.hideValidationSummary();
    });
</script>
In this article
Not finding the help you need? Improve this article