Dragos Durlut Dragos Durlut - 1 year ago 47
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 Source
var validator = $("form").validate()

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