Re: Quickform and Group Rules
| From: | Bertrand Mansion | Date: | Fri, 04 Jun 2004 20:23:21 +0000 |
| Subject: | Re: Quickform and Group Rules | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12917@lists.php.net to get a copy of this message | ||
Alexey Borzov wrote:
>Hi!
>
>Tom Melendez wrote:
>> 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.
>
>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.
Bertrand Mansion
Mamasam