Re: QuickForm applyFillter() -- client side
| From: | Bertrand Mansion | Date: | Thu, 12 Aug 2004 08:02:46 +0000 |
| Subject: | Re: QuickForm applyFillter() -- client side | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14078@lists.php.net to get a copy of this message | ||
Sawan Vithlani wrote:
>Hello All.
>
>Is there any way to make the quick form applyFilter() method run on the
>client side i.e. javascript. Right now I have applyFilter('__ALL__',
>'trim') but this will only be checked by the form on submit. I want some
>javascript to verify it before submit.
No, not with filters.
Client-side validation comes with addRule().
Have a look at the documentation and the examples.
Bertrand Mansion
Mamasam