Hi All,

I am working on a flex application which has requirement to restrict user to
enter the numbers with 5 decimal places only.I tried the 'restrict' property
of TextInput control.Here is the code snippet that I tried:


<mx:TextInput id="txtValue" restrict="[0-9]*\.?[0-9]{0,5}" />

 but this is not working.Can anyone help me out on this?Its very urgent.



Thanks
-Amruta Kulkarni

-- 
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