title: JQuery Validation: Validating hidden fields
body: <p>Since the release of the JQuery Validation Plugin version <code>1.9.0</code>, hidden fields have been automatically omitted from validation checks [<a href="http://bassistance.de/2011/10/07/release-validation-plugin-1-9-0/">source</a>].</p>
  
  <p>According to the <a href="http://bassistance.de/2011/10/07/release-validation-plugin-1-9-0/">release notes</a>, the way to get around this is by setting <code>ignore: []</code> in the validation function.</p>
  
  <p>Using version <code>1.10.0</code>, I am unable to get this to work for input fields that are hidden using <code>display: none</code> or <code>visibility: hidden</code>.</p>
  
  <p>My validation is done using classes (eg, <code>class="required"</code>) and the validation function is fairly basic:</p>
  
  <p><b>JQuery</b></p>
  
  <pre><code>$("form").validate({
      ignore: [],  
      errorPlacement: function(error, element) {
          error.appendTo( $('#error-message') )
      },
      invalidHandler: function() {
          //do something 
      },
      submitHandler: function() {
          //do something else
      }
  });
  </code></pre>
  
  <p><b>Working example: <a href="http://jsfiddle.net/fbCVY/">http://jsfiddle.net/fbCVY/</a></b></p>
  
  <p>Can anyone point out where I am going wrong?</p>