[TYPO3-mvc] Validator with "trim" funnctionality smilar to TCEFORM
Steffen Müller
typo3 at t3node.com
Tue Apr 1 18:44:22 CEST 2014
Hi.
On 01.04.2014 17:43 Chris Wolff - AERTiCKET AG wrote:
> And it would be nice if my validator could modify the value.
Keep in mind it's a validator, not a modifier.
Don't mix contexts, otherwise your code will become hard to understand
and maintain.
Alternatively you can use a TypeConverter of the rewritten propertymapper.
I don't have a working example at hand but I'm pretty sure google will
find some. For example: http://forge.typo3.org/issues/52480
--
cheers,
Steffen
Active Contributor TYPO3 CMS
TYPO3 Blog: http://www.t3node.com/
Twitter: @t3node - http://twitter.com/t3node
More information about the TYPO3-project-typo3v4mvc
mailing list