How to hide the JavaScript validation messages programmatically?

after from validation… hide the validate message… to form reset.

How should a user see the validation results if the results are automatially hidden after a validation?

i have reset and submit button… so user click the reset button when remove the all input validation message…

Use the clearError() function of the mage.validation JavaScript widget:

Usage examples

1

2

3

4

5

As you can see, the last example also resets the form.