Thursday, April 21, 2005 05:17 AM
When there is a validation error in my form i display a message on the screen.
Now i want to change the display color of the corresponding feild for which a validation error occures.
How it is possible in struts ?
EX: Let a text feild in the name date of birth(dd/mm/yyyy)
If i enter a date in the format mm/dd/yyyy then a message is apper as date of Birth is not in the correct format.
I want this message and also date of birth(dd/mm/yyyy) feild in red color.