This has come up before as a "bug".  I don't believe you can but there is 
talk of changing the validator to support that.

Dave


>From: [EMAIL PROTECTED]
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Struts Validation Required and Float
>Date: Tue, 1 Oct 2002 20:23:35 -0400
>
>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]>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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

Reply via email to