[Flow] Use comma instead of a dot in float

Alexander Berl a.berl at outlook.com
Mon Mar 9 23:54:38 CET 2015


Hi Patric,

for this, you need to configure the TypeConverter for your input field
inside your controller. Take a look at the following:

http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/PropertyMapping.html#configuring-the-conversion-process

http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartV/TypeConverterReference.html#floatconverter

So you can actually just configure the locale that the FloatConverter
should use - for example the german locale "de" will allow input with
"," as decimal separator.

Regards,
Alexander

Am 09.03.2015 um 20:10 schrieb Patric Eckhart:
> It is a inputfield and this should accepted 12,75. The user should not
> must type 12.75



More information about the Flow mailing list