<divid="myform"><inputname="username"required/><br/><buttonid="save">Save</button><divid="errors"></div></div><script>// attach a validator to the container and get a referencevar validatable =$("#myform").kendoValidator().data("kendoValidator");$("#save").click(function(){//validate the input elements and check if there are any errorsif(validatable.validate()===false){// get the errors and write them out to the "errors" html containervar errors = validatable.errors();$(errors).each(function(){$("#errors").html(this);});}});</script>