How about using 2 different FormRequests and specifying the messages() function?
https://laravel.com/docs/5.4/validation#customizing-the-error-messages
Or if you're using a single FormRequest you could maybe dynamically set the messages return array by checking a form id hidden input field
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community