QuickForm element group validation
| From: | Martin Qvistgård | Date: | Thu, 10 Apr 2003 11:42:49 +0000 |
| Subject: | QuickForm element group validation | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4772@lists.php.net to get a copy of this message | ||
Hello!
I have a small problem when trying to validate element groups with my own
rules. Everything works fine with the predefined ones, though.
I have made a 'fake' validation function that does nothing but return a false
bool. I register the rule and then try to use it. It works flawlesly when
used with addRule for a single element, but is ignored when used with
addGroupRule. What am I doing wrong?
/martin