HI,
i have a scenario.

i have one field  say user id , This field is not mandatory.
However if at all user enters it.. it should be only numeric fields..

how do i perform that validaton..?
i tried using

<mx:Script>

     import mx.controls.Alert;

 </mx:Script>



<mx:NumberValidator source="{Overallrfp}" property="text"
integerError="Enter Integer value"  domain="int"  required="false" />





<mx:Label text="Overall RFP value in $: " width="145" height="18" x="67"
y="56" fontSize="11"/>

<mx:TextInput x="225" y="58" height="18" width="120" id="Overallrfp"/>

but  its not working...

if i m not entering any values then its thworing exception

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