title: How to validate array inputs using proengsoft/laravel-jsvalidation and Laravel 5
body: <p>Hi I'm trying to validate an array input and select like this:</p>
  
  <pre><code>&lt;td width="23%"&gt;                                            
  {!!Form::select('mmscod_id[]',['' =&gt; '- Seleccione un material -'] +$mat,null,['class' =&gt; 'form-control', 'id'=&gt;'mmscod_id'])!!}    
  &lt;/td&gt;
  
  &lt;td width="17%"&gt;
  &lt;input type="text" class="form-control" id="cantidad" name="vtcanp[]"/&gt; 
  
  &lt;/td&gt;
  &lt;td width="17%"&gt;
  &lt;input type="text" class="form-control" id="precio" name="vtprep[]"/&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>I'm using the <a href="https://github.com/proengsoft/laravel-jsvalidation" rel="nofollow">proengsoft/laravel-jsvalidation</a> for client-side validation. For the back-end I use Laravel's Form request. </p>
  
  <p>I also use the method of this site: <a href="https://ericlbarnes.com/2015/04/04/laravel-array-validation/" rel="nofollow">How To: Validate an array of form fields with Laravel</a> but it doesn't work and throws errors:</p>
  
  <p><a href="http://i.stack.imgur.com/A5gcf.png" rel="nofollow">error1</a></p>
  
  <p><a href="http://i.stack.imgur.com/cGU5r.png" rel="nofollow">error2</a></p>
  
  <p><strong>Edit:</strong>
  I forgot to mention that these elements are created dynamically
  Please help me</p>