Re: [QUICKFORM]How to set maxlength for a textarea
| From: | Sylvain Gourvil | Date: | Tue, 12 Jul 2005 12:36:20 +0000 |
| Subject: | Re: [QUICKFORM]How to set maxlength for a textarea | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19950@lists.php.net to get a copy of this message | ||
Ok, sorry floks, I am quite stupid today ;-(
$form->addRule('AREA', 'Maximum 8 characters', 'maxlength', 8, 'client');
Have a good day !
Sylvain Gourvil wrote:
Hi Everybody ! I want to implement a form with a textarea. But do you know if it is possible to implement it whith a maximum length ? I do not find this information on web. It would be nice if someone can telle me. Thanks !-- --------------------- Sylvain Gourvil Développeur PHP5, PEAR, SMARTY, POSTGRESQL Antiquités en France