Re: Quickform and Group Rules

From: Date: Fri, 04 Jun 2004 17:02:20 +0000
Subject: Re: Quickform and Group Rules
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12912@lists.php.net to get a copy of this message
One more, related question. We are going to write a custom form rule for this as suggested by Justin, shouldn't be too bad at all. However, how to we register and use a custom form "client-side" (javascript) rule as well? I'm not exactly sure how to add my JS function to the QF code and have it evaluated. Thanks, Tom On Fri, 2004-06-04 at 12:44, Alexey Borzov wrote: > 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.

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.pear.general (#12912) next »