Dear all,

Can we use one validator to validate more than one source?

    <mx:StringValidator id="labelVld" source="{nameEntry, labelEntry}"
required="true" property="text" />
                <mx:Form>
                        <mx:FormItem 
label="{resourceManager.getString('Admin','name')}"
required="true">
                        <mx:TextInput id="nameEntry" />
                </mx:FormItem>
                
                        <mx:FormItem 
label="{resourceManager.getString('Admin','label')}"
required="true">
                        <mx:TextInput id="labelEntry" />
                </mx:FormItem>

I placed more than one value inside the source attribute of the
mx:StringValidator component but it didn't work. How do I handle this
kind of issue in Flex? Does anyone has any idea about this?

Many thanks

-- 
Setting a new landmark.
Blog: http://joshuajava.wordpress.com/
Twitter: http://twitter.com/thejavafreak

Reply via email to