![]() |
![]() |
||||||
|
|||||||
| Tags: button, httpservice, problem, radio, sending, values |
![]() |
|
|||
|
Hi:
I am wondering if anyone can help me with sending the individual values in the radio button groups to the PHP script over the database using Flex's HTTPService. This is what I have for the radio button: <mx:FormItem label="Gender" direction="horizontal"> <mx:RadioButtonGroup id="gendertype" itemClick="handleSex(event);"/> <mx:RadioButton groupName="gendertype" id="male" label="M"/> <mx:RadioButton groupName="gendertype" id="female" label="F"/> </mx:FormItem> This is what I have in my HTTPService tags: <mx:HTTPService id="srv" url="http://www.test.com/test_flex_2.php" method="POST"> <mx:request> <gendertype>{gendertype.ItemClickEvent.text}</gend ertype> </mx:request> </mx:HTTPService> This is not working, even though in my <mx:Script>, I have asked the message to send me back the gender values with alerts. does anyone know what value I should use to get the value to return accurately in the <mx:HTTPService> tags? Thanks in advance. Alice |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise