vendredi 4 septembre 2020

Cannot validate dynamic radio button in Laravel

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;


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3lZgbNo
via IFTTT

Aucun commentaire:

Enregistrer un commentaire