This works! Thank you... I would also attach the sample that illustrates your solution just in order to help others not to waste time in future:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Panel title="Form"> <mx:Form id="dynamicForm"> <mx:Repeater id="formItemRepeater1" dataProvider="{new Array(5)}"> <mx:FormItem label="{'Label '+formItemRepeater1.currentIndex}"> <mx:TextInput /> </mx:FormItem> </mx:Repeater> <mx:Repeater id="formItemRepeater2" dataProvider="{new Array(5)}"> <mx:FormItem visible="false" height="-{dynamicForm.getStyle('verticalGap')}" label="{'Label '+formItemRepeater2.currentIndex}"> <mx:TextInput /> </mx:FormItem> </mx:Repeater> </mx:Form> </mx:Panel> </mx:Application> -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Thursday, January 26, 2006 1:04 AM To: [email protected] Subject: RE: [flexcoders] Dynamic form layout and hidden FormItem. Is it possible without doubtful workarounds? Did you try my suggestion from yesterday about setting a negative height on the invisible child? I also mentioned that the new 'includeInLayout' property in Flex 2 will solve this problem. - Gordon -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

