Announcement Announcement Module
No announcement yet.
Numbering of error items Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Numbering of error items


    I would like to achive numbering of validation errors in the jsp-form. That is, if an error is found for 'firstName' a '(1)' is placed behind the input field. If there are more errors they are numbered '(2)', '(3)' and so on.

    On the top of the page I would like to present a list of errors like:
    1) 'First name' is incorrect
    2) 'username' is too long
    3) ...

    I don't want the error message itself to be presented after the invalid input field, just a small number indicating which error in list it corresponds to.

    Help anybody!?