Remove messages from jquery validate ()

0

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.

    
asked by anonymous 18.05.2017 / 20:58

1 answer

0

You can use the resetForm()

 var validator = $("#myform").validate(
       ...
       ...
    );

    $(".cancel").click(function() {
        validator.resetForm();
    });

Source: link

    
22.05.2017 / 20:02