Hi, Rafael.
 you can find clue on the following documentation.
http://struts.apache.org/userGuide/dev_validator.html
 check validwhen.
 ichy

 2005/7/14, Rafael Taboada <[EMAIL PROTECTED]>: 
> 
> Hi folks I'm using validation framework in order to validate my fields in 
> a
> form.
> I have three fields in a search form:
> strUsername
> strFromDate
> strToDate
> But we have the rule that the user can fill strUsername or use dates 
> range.
> I mean he can search by username or he can search by dates range...
> When I use validation, it validates all the fields.... My question is how
> can I set my search rule??? the user can search by username or by dates
> range... If he choose username so validation only has to validate username
> field... But if he choose dates range, so validation has to validate only
> FromDate and ToDate...
> Any help would be appreciated...
> Thanks in advance.
> 
> --
> Rafael Taboada
> Software Engineer
> 
> Cell : +511-97753290
> 
> "No creo en el destino pues no me gusta tener la idea de controlar mi 
> vida"
> 
>

Reply via email to