Something like this if youre using 1.2.x:

<field property="propName" depends="validwhen">
<var>
   <var-name>test</var-name>
   <var-value>((item1 != null) or (item2 != null) or (*this* !=
null))</var-value>
</var>
</field>

> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurent Duperval
> Sent: Monday, October 25, 2004 5:13 PM
> To: [EMAIL PROTECTED]
> Subject: Implementing dependence between form properties
>
>
> Hi,
>
> How does one implement dependence between property fields?
> Specifically,
> I have three String fields and at least one of them must be non-null.
> Can I write this in the validator.xml file? Or do I have to write a
> custom validation rule?
>
> Thanks,
>
> L
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to