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.  

<field property="acctID" depends="required, mask">   </field> 



<field property="userID" depends="required, mask">   </field>

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]

Reply via email to