llebron
03-13-2005, 05:14 PM
I am trying to use amfphp to load a combo box. I want to use to fields that are returned by the remoting call to create the combobox. I tried the rearrange fields formatter with ({label=Opportunity_Name; data=OpportunityID}) as the format options but I get an "undefined" for the select box entries.
I also tried creating an array form the results of the remoting call. However, I was never able to actually get any info into the array.
The only thing that works is doing a databinding between the remoting connector and the combobox adding the following line of actionscript:
mycombobox.labelField="Opportunity_Name";
Using the code I get a functioning select box, but I'm not sure that it would submit the correct data (OpportunityID).
I have searched through the forums but I haven't found a similar problem. Any help would be appreciated.
Luis
I also tried creating an array form the results of the remoting call. However, I was never able to actually get any info into the array.
The only thing that works is doing a databinding between the remoting connector and the combobox adding the following line of actionscript:
mycombobox.labelField="Opportunity_Name";
Using the code I get a functioning select box, but I'm not sure that it would submit the correct data (OpportunityID).
I have searched through the forums but I haven't found a similar problem. Any help would be appreciated.
Luis