Answer the question
In order to leave comments, you need to log in
Laravel validator :attribute replace name with alt?
Laravel's validator outputs a name attribute, which is inconvenient for the user
Let's say there is a text field for the subject of the message
When the validator throws an error, the user gets a message like: The subject field must not be empty.
Let's say a "human" name can be entered in the alt attribute, but how to display alt instead of name?
Or are there other ways to solve this problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question