Check if your float validator depends on required. Removing this dependency
should solve your problem.

-Padma 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 8:24 PM
To: [EMAIL PROTECTED]
Subject: Struts Validation Required and Float


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:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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

Reply via email to