You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Richards, Devin N (Devin)" <de...@lucent.com> on 2002/08/16 19:28:24 UTC
validating on dependant attributes
I now have a working form, with validation using 1.1-b2 (yes I am very excited!)
I have a field that is required only if a check box is marked, looking at the validation_1_1.dtd I do not see a built in way to put a dependency to another form element. Can this be done? or do I have to write my own validation rule?
Or do I need to do this check in my form's validate() method? If I do use my own validate() method, how can I specify a resource bundle to ActionError()? The constructors have key and args, but no resource attribute!
TIA
-Devin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>