At first, Thanks for kendo. it is used conveniently. but there are some ways I can't understand or I think it's not elegant.
1. $("#temp").kendoValidator().data("kendoValidator").validate() doesn't validate rules which I specify.
I add my rules in Validation to validate password and confirm password. when element loses focus, fantastic!!!! It does work. I really happily continue coding.
if( !$("#temp").kendoValidator().data("kendoValidator").validate() ){ return false;}2. form submit.
I don't find some solutions. So I return to use form submit which likes:
<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>Best regards.