I'm trying to create a form for the database, but I'm not sure how to do this. I'm not sure how to do this. in the example.
Iwouldliketoknowhowtoremovethesemessagesandcountsomanyinputsthatarenotcorrect.Icheckedthis link site but could not.
You can use the resetForm()
var validator = $("#myform").validate(
...
...
);
$(".cancel").click(function() {
validator.resetForm();
});
Source: link