|sfValidatorString: option to trim value [message #102895]
||Wed, 21 July 2010 19:39
Registered: July 2010
Location: San Francisco, CA
It would be useful to have an option in sfValidatorString to automatically trim leading and/or trailing whitespace from the value upon submission. This option would be performed prior to applying the min_length and max_length options.
Default would be false, meaning no trimming is performed. Acceptable values would be:
- boolean false, indicating no trimming