RE: [flexcoders] checkbox in repeater
Hi This works!! Thanks.Matt Chotin <[EMAIL PROTECTED]> wrote: You should have access to mods as a 2-d array. mods[i][j] every mods[i] is the array of checkboxes for the listModules repeater. For (var i:Number=0; i < mods.length; i++) { For (var j:Number=0; j < mods[i].length; j++) { Trace(mods[i][j].label + = + mods[i][j].selected); } } Havent tested this but this should hopefully get you on track. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Husain KitabiSent: Friday, October 21, 2005 8:35 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] checkbox in repeater Hi I am having a repeater -> repeater -> checkbox. I need the values of mods. I tried the following in my script function getSelectedModules(){ var len= list.dataProvider.length; var str = ""; for(var j=0;j for(var i=0; i str = str + '\n' + listModules[j].mods[i].label; } } mx.controls.Alert.show("Checbox :"+ str); } This returns me undefined. Any ideas how to get checkbox values Regards hussain Yahoo! FareChase - Search multiple travel sites in one click. hussain Yahoo! FareChase - Search multiple travel sites in one click. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] checkbox in repeater
You should have access to mods as a 2-d array. mods[i][j] every mods[i] is the array of checkboxes for the listModules repeater. For (var i:Number=0; i < mods.length; i++) { For (var j:Number=0; j < mods[i].length; j++) { Trace(mods[i][j].label + ‘ = ‘ + mods[i][j].selected); } } Haven’t tested this but this should hopefully get you on track. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Husain Kitabi Sent: Friday, October 21, 2005 8:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] checkbox in repeater Hi I am having a repeater -> repeater -> checkbox. I need the values of mods. I tried the following in my script function getSelectedModules(){ var len= list.dataProvider.length; var str = ""; for(var j=0;j for(var i=0; i str = str + '\n' + listModules[j].mods[i].label; } } mx.controls.Alert.show("Checbox :"+ str); } This returns me undefined. Any ideas how to get checkbox values Regards hussain Yahoo! FareChase - Search multiple travel sites in one click. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] checkbox in repeater
Pl help!Husain Kitabi <[EMAIL PROTECTED]> wrote: Hi I am having a repeater -> repeater -> checkbox. I need the values of mods. I tried the following in my script function getSelectedModules(){ var len= list.dataProvider.length; var str = ""; for(var j=0;j for(var i=0; i str = str + '\n' + listModules[j].mods[i].label; } } mx.controls.Alert.show("Checbox :"+ str); } This returns me undefined. Any ideas how to get checkbox values Regardshussain Yahoo! FareChase - Search multiple travel sites in one click. hussain Yahoo! FareChase - Search multiple travel sites in one click. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] checkbox in repeater
Hi I am having a repeater -> repeater -> checkbox. I need the values of mods. I tried the following in my script function getSelectedModules(){ var len= list.dataProvider.length; var str = ""; for(var j=0;j for(var i=0; i str = str + '\n' + listModules[j].mods[i].label; } } mx.controls.Alert.show("Checbox :"+ str); } This returns me undefined. Any ideas how to get checkbox values Regardshussain Yahoo! FareChase - Search multiple travel sites in one click. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] checkbox in repeater tag
Hi I have a repeater tag which goes through an array. In my tag, i create a checkbox. I want my check box id to be created dynamically. I use But it throws an error saying id is not a valid identifier. Apparently it does not throw any error on label and it works perfect. Any ideas how to create the id dynamically. Regards Husain Yahoo! Groups Sponsor ~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~-> -- 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/