More than one field date validation
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:DateValidator id="dateV" daySource="{dayInput}" dayProperty="text" monthSource="{monthInput}" monthProperty="text" yearSource="{yearInput}" yearProperty="text" /> <mx:Form> <mx:FormItem label="Month"> <mx:TextInput id="monthInput" /> </mx:FormItem> <mx:FormItem label="Day"> <mx:TextInput id="dayInput" /> </mx:FormItem> <mx:FormItem label="Year"> <mx:TextInput id="yearInput" /> </mx:FormItem> <mx:FormItem> <mx:Button label="Check Date" click="dateV.validate();" /> </mx:FormItem> </mx:Form> </mx:Application>