Hi All,
Can u please help me out in the same.
I have a similar case where i need to create a regular expression where
there is a number with three decimals followed by forward slash then again
a number.
eg. 12.123/12/34.1234
It should trim number 4 from the decimal or else show an alert message
entry is wrong.
On Wednesday, September 7, 2011 at 7:44:54 PM UTC+5:30, Amruta wrote:
>
>
> 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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/flex_india.
For more options, visit https://groups.google.com/d/optout.