Re: Quickform and Group Rules

From: Date: Sat, 05 Jun 2004 08:03:56 +0000
Subject: Re: Quickform and Group Rules
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12925@lists.php.net to get a copy of this message
Alexey Borzov wrote: >Hi! > >Bertrand Mansion wrote: >>>>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. >>> >>>There is no way now, I'm afraid. Please open a bug for this. >> >> Well, you can. If you use a Callback rule with 'client' set, the callback >will >> be called automatically in your javascript as well. > >I know this. ;] > >I meant, there is no way to add a Javascript form rule right now, only a >per-element one. I see. Definately a missing feature then, that could be not too difficult to add. Bertrand Mansion Mamasam

« previous php.pear.general (#12925) next »