saadaan
1 week ago

Validation error messages customization

Posted 1 week ago by saadaan

Hi,

My variable names are not too readable. When I do validation and error occurs, Laravel display the name of variable in the error message, which is difficult to understand. Is there a way to make laravel use something in blade (id, label, etc) for error message prompts instead of variable names? Please note: I don't want to use custom validation rules, so looking for some shortcut other than that.

Saad

Please sign in or create an account to participate in this conversation.