Hello Guys , does any one there knows how can I validate an form array with form Request ?
I want to make something like that -
public function rules()
{
return [
'user[id]' => 'required' ,
'user[status]' => 'required'
];
}
I tried like this as well -
public function rules()
{
return [
'user.id' => 'required' ,
'user.status' => 'required'
];
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community