Dragos Durlut Dragos Durlut - 6 months ago 9
jQuery Question

How to see jQuery validation list of elements with errors

Sometimes, the form won't submit because jQuery has some invalid elements that will not show up in an error message.

How can we see these errors in order to debug more easily ?

Answer
var validator = $("form").validate()
validator.errorList

will show the array of errors that are holding back the form from submiting.