By default, all validators in symfony1.4 have a disabled trim
option. You can enable it by passing it to true
, see here
Symfony 1 trim all spaces of input fields
-
29-06-2022 - |
문제
I'm running an application with Symfony1/ Doctrine1. Is there a simple way to trim all spaces either end of single line input fields? I'm using largely default fields and default admin modules.
해결책
제휴하지 않습니다 StackOverflow