Form Text required field
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Form> <mx:FormItem label="ZIP Code"> <mx:TextInput id="zipOptional" width="100" /> </mx:FormItem> <mx:FormItem label="ZIP Code" required="true"> <mx:TextInput id="zipRequired" width="100" /> </mx:FormItem> </mx:Form> </mx:Application>