http://jakarta.apache.org/struts/userGuide/dev_validator.html
:) -Andy -----Original Message----- From: Clark Kent [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 3:02 PM To: Struts Users Mailing List Subject: RE: Conditional check for depends clause in Validation.xml How do I use requiredif or validatewhen? Do you have any examples that I can use Udaya. Thanks, CK Udaya Allu <[EMAIL PROTECTED]> wrote: use requiredif or validatewhen in the place of required -----Original Message----- From: Clark Kent [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 3:59 PM To: usergroup Subject: Conditional check for depends clause in Validation.xml I have a scenario where I have 2 textboxes in a form and I need to have the user enter either one of the fields but not both. Is there a way that we can provide conditional checks within the depends clause? Thanks, CK. --------------------------------- Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]