You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Stefan Burkard <sb...@previon.ch> on 2004/03/19 11:42:05 UTC

validator form and OR-relations between fields

hi struts-users

is it possible with the validator-framework to check if ONE of TWO 
fields contains text?

i just see the possibility to set both fields as required or not, but 
not to say "if in one of the two fields is text, the forms ok"

thanks and greetings
stefan


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


Re: validator form and OR-relations between fields

Posted by Stefan Burkard <sb...@previon.ch>.
ok, i found myself some infos at 
http://jakarta.apache.org/struts/userGuide/dev_validator.html

ist there any possibility to use the struts 1.2.0-validators without 
using a nightly build? something like a milestone-build perhaps? or by 
using the commons validator itself?

thanks and greetings
stefan

Stefan Burkard wrote:
> hi struts-users
> 
> is it possible with the validator-framework to check if ONE of TWO 
> fields contains text?
> 
> i just see the possibility to set both fields as required or not, but 
> not to say "if in one of the two fields is text, the forms ok"
> 
> thanks and greetings
> stefan


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