Re: Re: QuickForm input text content
| From: | Bertrand Mansion | Date: | Tue, 20 May 2003 14:28:48 +0000 |
| Subject: | Re: Re: QuickForm input text content | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5468@lists.php.net to get a copy of this message | ||
<mcarter@quantiv.com> wrote :
> Hi,
>
> When should the filter be applied? After submission?
> Should it happen before the $form->validate() ?
You can apply it when calling setDefaults() or setConstants() to clean your
default values. Or you can apply it just before or just after validate(),
that's up to you.
Bertrand Mansion
Mamasam