Answers for "how validate the value of object in arraye in laravel"

PHP
1

how validate the value of object in arraye in laravel

$request->validate([
            'data.*.recommend_question_id'=>'required',
            'data.*.recommend'=>'required',
            'data.*.date'=>'required'
        ]);
Posted by: Guest on June-21-2021

Code answers related to "how validate the value of object in arraye in laravel"

Browse Popular Code Answers by Language