i think this solution will help u

<mx:Form>
        <mx:FormHeading label="sample data"/>
        <mx:FormItem label="enter your name">
            <mx:TextInput restrict=" 100-200"  />
        </mx:FormItem>
    </mx:Form>

On Mon, Dec 21, 2009 at 12:56 PM, kalavati singh
<kalavati.si...@gmail.com>wrote:

> Hi Giridhar & Vicky,
>          Thanks for yoy help. I got the example
>
>
> http://www.adobe.com/livedocs/flex/3/langref/mx/validators/NumberValidator.html
>
>
> Regards
> Kalavati
>
>
> On Mon, Dec 21, 2009 at 12:17 PM, giridhar vasudev <
> giridha...@googlemail.com> wrote:
>
>> Hi,
>> I think in the <mx:NumberValidator> class does have the attributes to
>> support your requirement.
>> MinValue, MaxValue.
>> You also have errors to be displayed if the value is not between these
>> ranges.
>> exceedsMaxerror.
>>
>> Hope this helps,
>> Regards,
>> Giridhar.
>>
>> On Mon, Dec 21, 2009 at 11:36 AM, kalavati singh <
>> kalavati.si...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>>       My requirement is I need a TextFeild   that must validate the
>>> following conditions
>>>
>>>
>>>
>>> 1) It should not be empty
>>>
>>> 2)It should take only numeric input.
>>>
>>> 3) The input to that textfeild must be in a range say between 100-200
>>> only.
>>>
>>>       The examples or documents that I have gone through on adobe  can
>>> fit for satisfying two conditions (1 & 2) but I donot find any example
>>> /documentation where all three conditions could be satisfeid.
>>>
>>>         Kindly let me know how that can be acheived
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Regards
>>>
>>> Kalavati Singh
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Flex India Community" group.
>>> To post to this group, send email to flex_in...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/flex_india?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to flex_in...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to flex_in...@googlegroups.com.
> To unsubscribe from this group, send email to
> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

--

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


Reply via email to