Home > FAQs > How do I change the invalid input error message for a particular field |
The "stock" validators provide default error messages. To override the default message,
The "message prefix" is invalid.fieldvalue
. To create a message entry, append the field name to the prefix. For example, a field named user.dob
would use the entry invalid.fieldvalue.user.dob
.
invalid.fieldvalue.user.dob=Please enter Date of Birth in the correct format.