try problemType.selectedItem.toString() , hope it will work On Nov 7, 12:40 pm, "dhileepen chakravarthy" <[EMAIL PROTECTED]> wrote: > Hi everybody, > How to send combobox selected value to PHP. > > My sample code is below: > > <mx:HTTPService id="submit_issue" result="checkSubmitIssue(event)" > fault="loginFault(event)" method="POST" > url="http://localhost/flex/submit_issue.php" useProxy="false"> > <mx:request xmlns=""> > <yourname>{yourname.text}</yourname> > <problemtype>{problemtype.selectedLabel}</problemtype> > <description>{description.text}</description> > </mx:request> > </mx:HTTPService> > > <mx:Panel x="9" y="91" width="1005.8333" height="593.9394" layout="absolute" > title="Register An Issue"> > <mx:Label x="150" y="36" text="Your Name :"/> > <mx:Label x="114" y="75" text="Type Of Problem :"/> > <mx:Label x="147" y="124" text="Description :"/> > <mx:TextInput x="253" y="36" id="yourname"/> > <mx:ComboBox x="253" y="73" id="problemtype"> > <mx:dataProvider> > <mx:Array> > <mx:String>Select</mx:String> > <mx:String>Quality of > documents</mx:String> > <mx:String>Software > problem</mx:String> > <mx:String>Web site > access</mx:String> > <mx:String>Other</mx:String> > > </mx:Array> > </mx:dataProvider> > </mx:ComboBox> > <mx:TextArea x="253" y="123" width="536" height="186" > id="description"/> > <mx:Button x="253" y="357" label="Submit" > click="simsg.text='';submit_issue.send();"/> > <mx:Button x="355" y="357" label="Clear" > click="clear_rai()"/> > <mx:Label x="253" y="317" width="536" height="32" > id="simsg"/> > </mx:Panel> > > yourname and description values are getting but i am not getting > problemtype, separatly i have tested the selected value with alert it shows. > > Help me anyone please > > Regards, > Dhileepen
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

