Re: HTML_QuickForm - custom rules
| From: | Justin Patrin | Date: | Fri, 17 Mar 2006 16:37:38 +0000 |
| Subject: | Re: HTML_QuickForm - custom rules | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23326@lists.php.net to get a copy of this message | ||
On 3/17/06, Noel da Costa <noel.dacosta@magharl.co.uk> wrote:
> Ok... Next question then..
>
> It looks like Œclient¹ validation can¹t be switched on for callback custom
> functions. Is there anyway of enabling this?
>
You have to either inject it yourself (simply creating a javascript
function with the right name will work IIRC) or create a Rule class,
register it with QF, and use it.
No, I don't know how to do eithe rof the above. :-|
--
Justin Patrin