title: Hide jquery validator messages for hidden fields
body: <p>I want to hide jquery validation messages for hidden fields .</p>
  
  <p>I have used jquery validator to validate hidden field using custom validator method.
  Issue I am facing is when we input correct value in field error message is not getting removed.</p>
  
  <p>Fiddle can be found <a href="http://jsfiddle.net/1r21359a/" rel="nofollow">here</a></p>
  
  <p>***CODE **</p>
  
  <pre><code>     $('#frm_managedeal').validate({
       ignore:[],
       invalidHandler: function(form, validator) {
  
          if (!validator.numberOfInvalids())
              return;
  
          $('html, body').animate({
              scrollTop: $(validator.errorList[0].element).offset().top
          }, 1);
  
      },
       rules:{
  
           dealExpirationDate:{
              mindatetoday :true,
           }
  
       },
       messages:{
  
           dealExpirationDate:{
              mindatetoday:'Expiration date should be greater than today'
           }
       }
   });
  </code></pre>