Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-558

EasyForms: Allow for easy overriding of validation messages

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Available for testing
    • None
    • easy-forms-2.12.01
    • plugins-easy-forms
    • 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

        Activity

          People

            jhoffman Jeroen Hoffman
            mchatzidakis Minos Chatzidakis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: