I need to validate hidden fields, so I have this below (validate hidden fields)
$.validator.setDefaults({ ignore: [] });
I would like to ignore a certain class as well, but I'm not sure of the syntax to get both.
$.validator.setDefaults({ ignore: "[], .ignoreThisClass" });
This obviously does not work but how can I specify to both validate hidden and ignore my class?