TextField that accepts only decimal values

Hi All,

I have to add a TextField to my form and inside ot this TextField the user can only write Decimal values.
I tried to add a converter to the textfield, but it doesn’t work as I want.
Any suggestion ?
Cheers.

                 Stefano

A Converter will just convert the value entered to the one you want. So you can make it so that the user can enter something like 1 and the converter converts it to 1.00 but if you want to actually want to restrict the User to only enter only decimal values you should use
Validators(scroll down to validators)