Re: QuickForm element group validation
| From: | Bertrand Mansion | Date: | Thu, 10 Apr 2003 11:49:42 +0000 |
| Subject: | Re: QuickForm element group validation | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4775@lists.php.net to get a copy of this message | ||
<martin.qvistgard@proficiens.se> wrote :
> 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?
AddGroupRule does not support validation with function yet.
Bertrand Mansion
Mamasam