Open
Description
Hi, i change the function:
elements: function() {
var validator = this,
rulesCache = {};
// select all valid inputs inside the form (no submit or reset buttons)
return $(this.currentForm)
.find("input, select, textarea")
.not(":submit, :reset, :image, [disabled]")
to:
.not(":submit, :reset, :image, [disabled], :hidden")
to not validate hidden fields.. (in my case, sometimes a field will be hidden in the submit).
is this a valid change to the project?