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

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -