Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

validation error help needed.

Sivaswamynatha K

2007-08-08


I have three text fields in a row. I.e. City, State and Zip. I have to
validate all these fields required and mask properties and show the
error by inserting a red star at the end of the zip text field. The
error message is shown as a tool tip for the red star. What my problem
is if one of the field is failed by required property and another by
mask then I got two red stars. How to avoid this? Could you people help
me on this?



Regards,

K. Siva Swamynatha.



©2008 junlu.com - Jax Systems, LLC, U.S.A.