php - Format Form Validation Message in Laravel 5 -


how format form validation error message in laravel 5 below ??

the date not valid date.

you can set custom validation messages in resources/lang/en/validation.php file:

'custom' => [     'date' => [         'date' => 'the <strong>:attribute</strong> not valid date.',     ], ], 

if want attribute bold on all date validation messages (regardless of field name), can set message date key:

'date' => 'the <strong>:attribute</strong> not valid date.', 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -