Following code can of help so some body who want to validate a list like i
wanted:

<mx:NumberValidator id="myListValidator"  trigger="{myButton}"
> triggerEvent="click"  minValue="0"
>     lowerThanMinError="Koe tu option select karo bhai." source="{myList}"
> property="selectedIndex"
>     />
>

On Sat, Dec 26, 2009 at 3:18 PM, namsu <[email protected]> wrote:

> How can I use Validator provided by flex to see if atleast one item of
> my list is selected when a button is clicked? I think I can use the
> NumberValidator by using the selectedIndices property of List. How can
> I?
>
> --
>
> 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]<flex_india%[email protected]>
> .
> 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 [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