Hi,

The quick solution for this can be - since you have mentioned as the
digits after decimal is 2 and is fixed, and if you need to restrict
number
of digits to 8 before the decimal then what you can do is make the
value property of TextInput named maxChars=11
This means that the 8 digits before decimal + a decimal seperator + 2
digits after decimal seperator.

Sunil


On Apr 22, 10:34 pm, deepa <[email protected]> wrote:
> Hi,
>
> I have a textinput field and I have a number validator attached to it.
> The backend column has maximum length of 10(10,2).
> It allows 2 digits after decimal point. I took care of the decimal
> validation.
> How can I restrict the number of digits that user can enter to 8
> before the decimal point using the validator?
>
> Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to