Hi all, 
 
I have a form and I am searching for the best way to do the following:
1. In case there were errors found in the form fields, highlight those
fields (using background color of red for example).
2. If there are more than 4 fields with errors, show the user one
compact error saying that he should enter the highlighted fields.
 
One way I came up with is using <logic:messagePresent> tag for each
field and changing the style he's using thus highlighting it. Is there a
JSTL equivalent way to perform this?
 
Thanks in advance,
 
Erez E
 
 
 

Reply via email to