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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -