Maybe you are thinking about a solution in form of an excution filter to
be applied automaticaly to all fields
scube wrote:
> better use trim()
>
>
> On Jul 10, 11:16 am, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
>
>> Hadrien Boyé schrieb:
>>
>>
>>> Is there a simple way to trim (on
better use trim()
On Jul 10, 11:16 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hadrien Boyé schrieb:
>
> > Is there a simple way to trim (on the server side) every field content typed
> > by the user in a form ?
>
> like this?
>
> foreach($this->getRequest()->getParameterHolder()->getAl
Hadrien Boyé schrieb:
> Is there a simple way to trim (on the server side) every field content typed
> by the user in a form ?
like this?
foreach($this->getRequest()->getParameterHolder()->getAll() as $key =>
$value) {
$newvalue = ltrim($value, "_");
}
--
--~--~-~--~~---