hi, the validwhen validator can do what you want. mvg, Jasper
On 6/22/06, Truong Xuan Tinh <[EMAIL PROTECTED]> wrote:
Hi there, You can write a custom validator in Struts to do that, it's rather easy, both client-side and server-side. Open the jar of commons-validator to see some script for existed validation rule should help. Regards. Tinh Jeremy Nix wrote: > How can I use the Struts Validator to enforce the above rule? Neither > of the fields are required, but if both are given, they must adhere to > the given rule. > > > > Thanks for any help, > > > > _________________________ > > Jeremy Nix > > Senior Application Developer > > Southwest Financial Services, Ltd. > > (513) 621-6699 x1158 > > > > > --------------------------------------------------------------------- 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]