validwhen is suppose to do that.

http://jakarta.apache.org/struts/userGuide/dev_validator.html

Saul

> -----Original Message-----
> From: Paul Barry [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, April 07, 2004 3:18 PM
> To: [EMAIL PROTECTED]
> Subject: validator one of multiple fields required
> 
> 
> Is there an easy way to check that at least one of multiple fields is 
> filled in with the validator?  Kind of like:
> 
> if(username != null || firstname != null || lastname != null)
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to