struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saul Q Yuan" <y...@dataanvil.com>
Subject RE: validator one of multiple fields required
Date Wed, 07 Apr 2004 19:23:23 GMT
validwhen is suppose to do that.

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

Saul

> -----Original Message-----
> From: Paul Barry [mailto:paul.barry@nyu.edu] 
> Sent: Wednesday, April 07, 2004 3:18 PM
> To: user@struts.apache.org
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message