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, "_");
}

--
</jonas>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to