Thanks Erik
________________________
Rodolfo
_______________________
Erik Weber <[EMAIL PROTECTED]>
12/04/2005 08:28
Por favor, responda a "Struts Users Mailing List"
Para: Struts Users Mailing List <[email protected]>
cc: (cco: Rodolfo Garc�a Esteban/CYII)
Asunto: Re: Combined fields validation with Validator
http://struts.apache.org/userGuide/dev_validator.html
See the sections on the "requiredif" and "validwhen" validators.
Erik
Rodolfo Garc�a Esteban/CYII wrote:
>Hi,
>
>I need to do a validation of required fields who depends of the values of
>previos fields. More clearly, I have a radio button to choose between
>select by date or by docnumber. If the radiobutton selected is date, the
>date is required and the numdoc isn't and viceversa. With Validator I can
>check if a field is required but conditional validation I don't know how
>to do. I think it would be a common problem for many others developers. I
>would regard any help.
>
>Thanks
>
>Rodolfo
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]