title: jQuery validate dynamic input array
body: <p>How to validate a <code>&lt;select&gt;</code> when this is a dynamic array? Like this:</p>
  
  <pre><code>&lt;select class="escolhaVidro id_material" name="id_material[]" id="id_material"&gt;
  </code></pre>
  
  <p>To clarify: This <code>&lt;select&gt;</code> assembled dynamically by PHP, so I do not know what are the indexes, so this way is not possible:</p>
  
  <pre><code>$(this).validate({
      rules: {
          "id_material[index]" : {
              required : true
          }
      }
  });
  </code></pre>
  
  <p>And so strangely this plugin does not work:</p>
  
  <pre><code>$(this).validate({
      rules: {
          id_material : {
              required : true
          }
      }
  });
  </code></pre>
  
  <p>I also tried to use a CSS <code>class</code> <code>required</code> in <code>&lt;select&gt;</code>, but no good.</p>