Apr 19th, 2010, 08:08 AM
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
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.
Tags for this Thread