title: Form hidden field and required validation use
body: <p>I have an HTML5/Bootstrap form with hidden fields:
  <code>style="display: none"</code> </p>
  
  <p>which i show/hide via jQuery:</p>
  
  <pre><code>show() | hide()
  </code></pre>
  
  <p>For field validation i use the attribute <strong>required</strong>.</p>
  
  <p>I want to have all my hidden fields as required but when some of them don't appear then the form can't proceed to submission.</p>
  
  <p>Any thoughts about how can i have validation enabled only to fields displayed by user selections?</p>