title: How to validate array of inputs using validate plugin jquery
body: <p>Am new to jquery validation plugin but i would like to know how do we validate array of input boxes using validation plugin..</p>
  
  <p>Below is html code.</p>
  
  <pre><code>&lt;form id="transport-form"&gt;
    &lt;input type="text" name="qty[]" id="qty1"&gt;
    &lt;input type="text" name="qty[]" id="qty2" &gt;
    &lt;input type="text" name="qty[]" id="qty3"&gt;
    &lt;input type="text" name="qty[]" id="qty4"&gt;
    &lt;input type="submit value="submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>and jquery code is below</p>
  
  <pre><code>jQuery("#transport-form").validate({
          rules: {
              'qty[]': {
                  required: true
              }
          },
      });
  </code></pre>
  
  <p>But everytime i click submit it is validating only the first value. rest all the values of same name are not validated. Please help.</p>