Adobe Dreamweaver Forums



Last 10 THreads :         Narrowed down Flex Builder 3 question (Last Post : peteandrus - Replies : 0 - Views : 1 )           »          Unable to load resource module ... at MethodInfo-635() (Last Post : MotionMaker - Replies : 2 - Views : 5 )           »          Fill graphics (Last Post : SiHoop - Replies : 0 - Views : 1 )           »          motion blur filter (Last Post : ssailer - Replies : 3 - Views : 4 )           »          files are one level too deep (Last Post : ricksepulveda - Replies : 4 - Views : 5 )           »          Drag Drop dont work (Last Post : prophotoguy - Replies : 0 - Views : 1 )           »          Need assistance converting some AS2 code to AS3 (Last Post : DPSwebmaster - Replies : 0 - Views : 1 )           »          HELP! (Last Post : SpAM_CAN - Replies : 2 - Views : 3 )           »          template base pages: relative paths don't update (Last Post : Marney - Replies : 2 - Views : 3 )           »          CS4 trials expired too early (Last Post : John Waller - Replies : 4 - Views : 5 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: , , , , ,



Reply
  #1 (permalink)  
Old 07-24-2008, 06:43 PM
Alice
 
Posts: n/a
Diggs:
Default Problem with Sending Radio Button Values to HTTPService

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


Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:44 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk