Uploaded image for project: 'Click'
  1. Click
  2. CLK-433

Form validation with custom messages

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 M3
    • Fix Version/s: 1.5 RC1
    • Component/s: None
    • Labels:
      None

      Description

      As discussed here... this is the patch.
      http://article.gmane.org/gmane.comp.web.click.user/2554

      I changed all the methods Field.setErrorMessage(...) to try read the custom message, before the defaults...

      fieldName.field-required-error

      example:

      name.field-required-error=Custom message for required name ...

      name.field-minlength-error=Custom message here...

        Attachments

          Activity

            People

            • Assignee:
              sabob Bob Schellink
              Reporter:
              rlecheta Ricardo R. Lecheta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: