Re: Quickform and Group Rules
| From: | Matte Edens | Date: | Fri, 04 Jun 2004 20:53:59 +0000 |
| Subject: | Re: Quickform and Group Rules | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12920@lists.php.net to get a copy of this message | ||
Can someone provide some supporting code for this? I tried adding a callback rule set for 'client' on an element and it never rendered into my code. I had the supporting server-side function ready.
--
matte - matte@arubanetworks.com
webmonkey / arubanetworks.com / airheads04.com / wi-fi-it.com
Bertrand Mansion wrote:
>Alexey Borzov wrote:
>
>
>>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.
>
>