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>
Thanks. Is this supposed to work with DynaActionForm's? I tried it and it still seems to pass the validation. Finally, do I have to do this for all three fields or is the above code sufficient?
I'm wondering if something isn't smelly in my setup. I change the (item1 != null) to use a name that doesn't exist in my form but there was no reaction; the validator didn't seem to pick up that it was incorrect.
Thanks,
L
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]