I'd appreciate some help with the valid-when validator rule.
I have a text field 'foo' as part of my DynaValidatorForm which should be validated with my custom 'ipAddress' validator rule. This is easy to set up in validation.xml.
Now I have a checkbox 'useFoo' associated with the text field 'foo'. I want to validate the text field 'foo' against 'ipAddress' rule only if 'useFoo' is true. I can't get this working sanely, and all examples seem to assume *all* the validation can be done in the valid-when rule, but I want to chain it to the other, perfectly good but complicated, rule.
This seems like a very standard recipe - anyone able to walk me through it? Thanks,
--
David Kennedy
Swan Labs
http://www.swanlabs.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]