Re: Quickform and Group Rules
| From: | Bertrand Mansion | Date: | Fri, 04 Jun 2004 21:02:54 +0000 |
| Subject: | Re: Quickform and Group Rules | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12921@lists.php.net to get a copy of this message | ||
Matte Edens wrote:
>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.
>
You have to write the javascript yourself of course.
QuickForm is not yet able to convert PHP to javascript code :)
The only thing guaranteed is that your javascript function will be called when
the user presses submit.
Bertrand Mansion
Mamasam