I made common validation message (“You have errors on page”) using “invalidHandler” option.
Now I’m looking for a way to remove this message (on leave control) when all the fields will become valid.
I made common validation message (You have errors on page) using invalidHandler option. Now
Share
Using
invalidHandleris one way to do this, but if you use theerrorContaineroption, jQuery validate will take care of hiding and showing the message for you. For example:Html:
CSS
JavaScript:
Example: http://jsfiddle.net/andrewwhitaker/deArQ/