Answer the question
In order to leave comments, you need to log in
Laravel: how to remove :attribute substitution in error message template?
Hello.
We have a validation.php file with validation error messages. Each message is substituted with the name of the field in which the error occurred. How to make sure that without changing this file, in a certain validation, we did not substitute the field name in the message. That is, the message "FieldName is required." should just look like "Required field."
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