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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -