Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Available for testing
-
None
-
None
Description
Validation messages are currently hardcoded by validation type. So for example, all fields that get a regexp validator will use the same message when rendering a validation error.
This improvement is allowing developers to easily specify different messages per field type, by using the class name of the Field.
So for the regexp validator on DateFields the message key can be changed from
validation.message.regexp=...
to
validation.message.regexp.datefield=...
Attachments
There are no Sub-Tasks for this issue.