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 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
--
Haris Zukanovic
CEO
Software development and research
International Business Development, SOFTING ltd.
office +387 36 318 339
GSM +387 61 839 069
http://www.eu-softing.com
CONFIDENTIALITY NOTICE
This e-mail and any attached files, sent by a company e - mail system, contains
company confidential and/or privileged information and is intended only for the
person or entity to which it is addressed and only for the purposes therein set
forth. If you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure, distribution or other use of, or taking of
any action in reliance upon, the material in this e-mail by persons or entities
other than the intended recipient is strictly forbidden.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---