Laravel Backpack custom validation over multiple attributes #318
-
How do I custom validate multiple attributes in a Laravel Backpack CRUD controller update? Lets say I have a ZIP, CITY, DELIVERY_PICKUP and DELIVERY_SHIPPING.
Its possible to write custom validation rules with multiple attributes in laravel like this
But how do I fit it in Backpacks FormRequest and fill it with the values?
|
Beta Was this translation helpful? Give feedback.
Answered by
tabacitu
Jul 22, 2020
Replies: 0 comments 2 replies
-
@Martin-Eckleben there's absolutely nothing custom about the Backpack FormRequests. So whatever works inside normal Laravel FormRequests will work here! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tabacitu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Martin-Eckleben there's absolutely nothing custom about the Backpack FormRequests. So whatever works inside normal Laravel FormRequests will work here!