struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Poon, Johnny" <>
Subject Single error message for multiple fields using Validator?
Date Tue, 08 Jul 2003 16:24:40 GMT

I'm using Validator.  Can anyone tell me if there's a way to only show one
general error message when there are errors on several fields on the page?
Further, how to change the font on the title and move focus to of all the
error field?

What I want to do when validation comes back false are these:
1) Show a general message for a type of invalidity, e.g. for required
fields: "Please fill out all of the required fields."
2) Change all the font of the title of the invalid fields.
3) Put the cursor focus on the first error field and have the input

Any help and pointers would be greatly appreciated.



This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message