in application creationComplete="userRequest.send()"
<mx:HTTPService id="userRequest" url=http://post url useProxy="false" method="POST"> <mx:request xmlns=""> <username>{username.text}</username><firstname>{firstname.text}</firstname> <lastname>{lastname.text}</lastname> </mx:request> </mx:HTTPService> 2007/3/14, Kevin <[EMAIL PROTECTED]>:
When handling form submission. Is there a way to grab all the fields wrapped in a specific Form tag and send them as an object to a function much like a GET or POST works in HTML. a form example: <mx:Form id="userForm"> <mx:FormItem label="Login ID" required="true" > <mx:TextInput id="username" width="100" restrict="^ "/> </mx:FormItem> <mx:FormItem label="User Name" required="true"> <mx:TextInput id="firstname" width="75"> <mx:TextInput id="lastname" width="75" /> </mx:FormItem> </mx:Form> <mx:ControlBar> <mx:ButtonBar id="adduser" dataProvider="{buttonlist}" itemClick="clickHandler(event);"/> </mx:ControlBar> can I grab all the values of the submission in as userForm.values (or something like that) OR do I have to get each one individually as username.text firstname.text lastname.text ...blah, blah... thanks, Kevin