title: Unable to validate two hidden fields jQuery
body: <p>Unable to validate two hidden fields (Say select an offer and Select any trip) with jQuery Validate plugin. I have two hidden fields in my form. I am using ignore option to validate those two fields. Among the two fields only the second field is validated which is later. How to validate both the fields in a single submit?</p>
  
  <pre><code> $('.form').validate({
      ignore: ':hidden:not("#off_val")', //ignore for first field
      ignore: ':hidden:not("#trip_ty")',////ignore for second field
      rules: form_rules,
      messages: form_messages,
      errorClass: 'validate',
      errorPlacement: function (err, element) {
          err.insertBefore(element);
      },
      submitHandler: function (form) {
          form.submit();
      }
  });
  </code></pre>