Use ToggleBarButton to toggle two forms in ViewStack
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:VBox> <mx:ToggleButtonBar dataProvider="{viewStack}" /> <mx:ViewStack id="viewStack"> <mx:Form label="Name"> <mx:FormItem label="First Name"> <mx:TextInput id="first" /> </mx:FormItem> <mx:FormItem label="Middle Name"> <mx:TextInput id="middle" /> </mx:FormItem> <mx:FormItem label="Last Name"> <mx:TextInput id="last" /> </mx:FormItem> </mx:Form> <mx:Form label="Comments"> <mx:FormItem label="Comments"> <mx:TextArea id="comments" /> </mx:FormItem> </mx:Form> <mx:Form label="Another"> <mx:FormItem label="Another"> <mx:TextArea id="another" /> </mx:FormItem> </mx:Form> </mx:ViewStack> </mx:VBox> </mx:Application>