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]



Reply via email to