I have many field to check validation and custom message so I want to do like below
For field like birthday_y,birthday_m,birthday_d
'birthday_*.required' => 'You need to select your month/day/year',
Also same message for different field
'zipcode_1.required|zipcode_2.required|address.required' => 'You need to ......'
Is there any way to set custom message like above ?
My laravel version is 5.0
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2XL3BYx
via IFTTT
Aucun commentaire:
Enregistrer un commentaire