Edit this page

hideMessages

Hides the validation messages.

Example

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

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

    //hide the validation messages when hide button is clicked
    $("#hide").click(function() {
        validator.hideMessages();
    });
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy