Quickform group rules & Flexy
| From: | Julie Knoll | Date: | Tue, 07 Dec 2004 20:20:12 +0000 |
| Subject: | Quickform group rules & Flexy | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16089@lists.php.net to get a copy of this message | ||
Hello,
I've noticed that when you assign individual elements their own rules using addGroupRule, the error messages won't display with the Flexy renderer.
For instance if you set one element to required, the * will appear marking the field as required, and the form validation fails (the form isn't processed), but the error message never appears.
It even happens with the FlexyDynamic_example.php example that comes with QuickForm. There is a group containing fields for first name and last name, and last name is marked as required. If you submit the form with that field blank, the error message never displays. If you change the code to use the default renderer it works okay though.
Is this a bug or am I missing something?
Thanks,
Julie