You'll have to create a custom validation rule (https://laravel.com/docs/5.2/validation#custom-validation-rules).
Jan 12, 2016
4
Level 3
Validate field value against another with arrays
I am using the following in the rules array of Requester but it doesn't work, any ideas?
'variantStock.*.min' => "required|numeric|max:variantStock.*.max"
The min field from the array should not be greater than the max field.
Please or to participate in this conversation.