Re: QuickForm input text content
| From: | Wojciech Gdela | Date: | Wed, 02 Apr 2003 22:53:49 +0000 |
| Subject: | Re: QuickForm input text content | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4604@lists.php.net to get a copy of this message | ||
Mike Carter wrote:
> Is it easy to add a way of ensuring that the content returned from a string
> gadget doesn't start of end with white space? In effect trimming the
> results at both ends before passing the content back to me to use.
You will need just one line:
$form->applyFilter('__ALL__', 'trim');
With QuickForm everything is easy. :)