I have dynamic fields which i want to validate, validation is also dynamic from database,
foreach(...){ .. }
Now issue is i'm not able to get the name of the checkbox and radiobutton if it is not checked.
Controller:
foreach($request->input('input_checkbox') as $key => $data) {
$ValidationString=$validationData['validations'];
$rules['input_checkbox'.$key] = $ValidationString;
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire