Re: Quickform and Group Rules
| From: | Alexey Borzov | Date: | Fri, 04 Jun 2004 16:44:19 +0000 |
| Subject: | Re: Quickform and Group Rules | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12911@lists.php.net to get a copy of this message | ||
Hi!
Tom Melendez wrote:
We are just starting to use Quickform, and I have a question about using the 'compare' rule for items in a group. I have two password boxes (enter and verify) that are in a group (they are in a group because I want them to appear on the same line, AND I want all elements, or physical groups of elements to be wrapped in their own tables, it is my understanding that this is the correct way to accomplish this. However, I can't seem to get the rule to work. If I take the passwords out of the group and add a rule using AddRule and that works fine. Can I use 'compare' with AddGroupRule? How would that work?There is a bug open for this already, but we couldn't (yet) come up with a resolution that is neither an ugly hack nor a BC break.