Re: Quickform and Group Rules

From: Date: Sat, 05 Jun 2004 06:45:49 +0000
Subject: Re: Quickform and Group Rules
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12924@lists.php.net to get a copy of this message
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.

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