That worked perfectly. Thank you!
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 31, 2006 8:26 AM
To: Struts Users Mailing List
Subject: Re: Valid When Question
Maybe something like the following
test
((*this* != null) or
Daniel,
use requiredif in your validation.xml
this should work
field[0]
phone1
Maybe something like the following
test
((*this* != null) or ((phone2 == null) and (phone3 ==
null)))
test
((*this* != null) or ((phone1 == null) and (phone3 ==
null)))
test
((*this* != null) or ((phone1 == null) and (phone2 ==
nul
3 matches
Mail list logo