struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete.Gabr...@fms.treas.gov
Subject Struts Validation Required and Float
Date Wed, 02 Oct 2002 00:23:35 GMT
When entering validations on a  form  in validation.xml, If you have a
fieldA  with "depends=required" and FieldB with "depends=float" (versus
depends="float,required) , if both those validation errors occur, the
validator will display only the "depends=required" validation error (FieldA
is required) the first time the user clicks on the Submit Button.

Once you enter a value for FieldA and re-click the Submit button, the
"depends=float" validation error  is displayed on the form (FieldB must be
a float).  Is there a way for both to appear at the same time the when the
Submit button is first clicked?

  Thanks, Pete Gabriel


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message