jeudi 28 février 2019

required array fields with another array fields in Laravel

I am validating two arrays in Laravel frame work. I would like to validate the relation between this two array fields. How can I validate this in request?

'rank.*' => 'integer|min:1|required_with:score.*',
'score.*' => 'numeric|required_with:rank.*',



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

Aucun commentaire:

Enregistrer un commentaire