Add the property attribute to <html:errors/>, where property="field_name"
and place the tag where you want it (usually beside or above the field to be
validated).

Mark

-----Original Message-----
From: Aaron Robinson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 04, 2003 12:39 PM
To: [EMAIL PROTECTED]
Subject: Showing errors on forms


Struts 1.1 offers the ability to show a list of errors at the top of a form 
based on the errors from the ActionErrors class.

Is there a way of getting struts to highlight the fields in error in any 
way?

TIA

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to