Validator.resetForm()

Validator.resetForm()

Description: Resets the controlled form.

Example:

Reset the form controlled by this validator.

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