Yes, you can use "validwhen" for this: * http://struts.apache.org/struts-doc-1.2.9/userGuide/dev_validator.html#validwhen
HTH, Ted. On 4/21/06, Zheng Wen Zhe <[EMAIL PROTECTED]> wrote: > Hey all, > I have two password fields, and I wanna validate those two fields containing > same data. > Is there any key word, I could use (like 'required')? Or I have to add a new > javascript in validator-rules.xml? > > Regards, > > Jason --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]