In the new version of jQuery validation plugin 1.9 by default validation of hidden fields ignored. I’m using CKEditor for textarea input field and it hides the field and replace it with iframe. The field is there, but validation disabled for hidden fields. With validation plugin version 1.8.1 everything works as expected.

So my question is how to enable validation for hidden fields with v1.9 validation plugin.

This setting doesn’t work:

$.validator.setDefaults({ ignore: '' });

9 Answers
9

Leave a Reply

Your email address will not be published. Required fields are marked *