Re: Implementing dependence between form properties

2004-10-26 Thread Niall Pemberton
- Original Message - From: "Laurent Duperval" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 4:35 PM Subject: Re: Implementing dependence between form properties > Joe Hertz wrote: > > Something like this if youre using 1.2.x: &g

Re: Implementing dependence between form properties

2004-10-26 Thread Laurent Duperval
Joe Hertz wrote: Something like this if youre using 1.2.x: test ((item1 != null) or (item2 != null) or (*this* != null)) 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

RE: Implementing dependence between form properties

2004-10-25 Thread Joe Hertz
D] > 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 h

Implementing dependence between form properties

2004-10-25 Thread Laurent Duperval
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 --