Greetings! I am currently attempting to validate an array input and select option in the following format:
<td width="23%">
{!!Form::select('mmscod_id[]',['' => '- Select a material -'] +$mat,null,['class' => 'form-control', 'id'=>'mmscod_id'])!!}
</td>
<td width="17%">
<input type="text" class="form-control" id="cantidad" name="vtcanp[]"/>
</td>
<td width="17%">
<input type="text" class="form-control" id="precio" name="vtprep[]"/>
</td>
As part of my validation process, I am utilizing the proengsoft/laravel-jsvalidation package for client-side validation. On the back-end, I am incorporating Laravel's Form request.
In addition, I have referred to the methodology outlined on this website: How To: Validate an array of form fields with Laravel. However, I am encountering errors that are disrupting the process:
Edit: I neglected to mention that these elements are being generated dynamically. Any assistance would be greatly appreciated.