Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how validate the value of object in arraye in laravel

        $request->validate([
            'data.*.recommend_question_id'=>'required',
            'data.*.recommend'=>'required',
            'data.*.date'=>'required'
        ]);
 
PREVIOUS NEXT
Tagged: #validate #object #arraye #laravel
ADD COMMENT
Topic
Name
7+3 =