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

Form validation with custom messages

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5 M3
    • 1.5 RC1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: