title: Jquery validation not working on collapsed bootstrap panels
body: <p>Okay so for my HTML I have this bootstrap collapse and some form fields inside of it.</p>
  
  <pre><code>&lt;div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"&gt;
      &lt;div class="panel panel-success"&gt;
         &lt;div class="panel-heading" role="tab" id="generalHeading"&gt;
            &lt;h4 class="panel-title"&gt;General&lt;/h4&gt;
         &lt;/div&gt;
         &lt;div id="generalInfo" class="panel-collapse collapse in" role="tabpanel"&gt;
            ...
         &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>With multiple panels and obviously the form fields where the <code>...</code> are in the example above.</p>
  
  <p>I then have the form submitting to the jquery validation. If I "open" all the panels above, the validation will work. If I do it like it is supposed to do and only have the last panel open which only has submit button in it, the validation runs like it has no problems. It doesn't see the fields in the collapsed panels? </p>
  
  <p>I have not been able to find any answers on this and hoping the community can help me.</p>
  
  <p><strong>How do I run jquery validation when the bootstrap panels are collapsed?</strong></p>
  
  <p>As per requested I have created a <a href="http://jsfiddle.net/3on5xu5u/2/">JS Fiddle</a></p>
  
  <p>As soon as you load the fiddle and try to submit the form (scroll down preview) <strong>you will see you get annoying alerts and it tells you the form is missing required fields.</strong> <em>This is supposed to happen!</em></p>
  
  <p>Now, if you scroll to <code>line 90</code> in the HTML and remove the word <code>in</code> on the class name of the following div:</p>
  
  <p><code>&lt;div id="priorityInfo" class="panel-collapse collapse in" role="tabpanel"&gt;</code></p>
  
  <p>and re-load the fiddle and then go through the panels and try to submit again, you will notice you don't get any annoying alerts or notifications. Except you get one notification saying the form was submitted. </p>
  
  <p>This is the problem as it's not catching that you didn't put your name or email address in.</p>