struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Turner" <tur...@blackbear.com>
Subject RE: Validator Question
Date Sat, 08 Feb 2003 22:40:27 GMT
> From: Swish [mailto:swishey911@yahoo.ca] 
> Sent: Saturday, February 08, 2003 3:51 PM
> To: Struts Users Mailing List
> Subject: Validator Question
> 
> 
> 
> I was wondering, is there a way to configure the validator to 
> perform a validation on a field only if value of another 
> field is equal to a specific value?  If so, how would one go 
> about doing so?  Can I write my own validator component to do 
> this if not and how do I go about doing that (are there any 
> examples out there)?

Check the "requiredif" validator in 1.1b3.

James



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


Mime
View raw message