jQuery Validate resetForm() doesn't reset the onFocus validation
问题 I have a form that is using jQuery Validate plugin for client side validation, and submits via AJAX. After the form is submitted, I would like it to reset itself. I have used the .resetForm() method to reset the fields, which works, but the problem is that the validate plugin still immediately tries to validate fields when they're focused, and gives an error before giving the new submission a chance to enter their input. Example Flow: Trigger validation initially Fix Validation, submit form