Set up input format for DateValidator
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:VBox> <mx:TextInput id="year" /> <mx:TextInput id="month" /> <mx:TextInput id="day" /> <mx:Button click="trace(validator.validate( ))" /> </mx:VBox> <mx:DateValidator id="validator" yearSource="{year}" yearProperty="text" monthSource="{month}" monthProperty="text" daySource="{day}" dayProperty="text" inputFormat="YYYY/MM/DD" /> </mx:Application>