Click
  1. Click
  2. CLK-433

Form validation with custom messages

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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...

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2d 21h 16m 1 Bob Schellink 09/Sep/08 09:36
        Resolved Resolved Closed Closed
        23d 14h 5m 1 Bob Schellink 02/Oct/08 23:41
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]
        Bob Schellink made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Bob Schellink made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Bob Schellink added a comment -

        Thanks for the patch Ricardo; its check into trunk.

        Show
        Bob Schellink added a comment - Thanks for the patch Ricardo; its check into trunk.
        Bob Schellink made changes -
        Assignee Bob Schellink [ sabob ]
        Fix Version/s 1.5 RC1 [ 10050 ]
        Ricardo R. Lecheta made changes -
        Field Original Value New Value
        Attachment patch.txt [ 10410 ]
        Ricardo R. Lecheta created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development