[flexcoders] Form Handling?

2007-03-14 Thread Kevin
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

Re: [flexcoders] Form Handling?

2007-03-14 Thread Brian Dunphy
Not a native feature built in to Flex I don't think, however one way to accomplish this would be to loop through each of the children of the Form (referenced by id), and then loop through each of the children of the that child, see if they are of type TextInput, TextArea, ComboBox, CheckBox,

Re: [flexcoders] Form Handling?

2007-03-14 Thread slangeberg
I think the Form docs show an example of binding the inputs to a Model, but you could substitute another object/class in its place. -Scott On 14 Mar 2007 07:54:00 -0700, Brian Dunphy [EMAIL PROTECTED] wrote: Not a native feature built in to Flex I don't think, however one way to accomplish

Re: [flexcoders] Form Handling?

2007-03-14 Thread Groups Mail
in application creationComplete=userRequest.send() mx:HTTPService id=userRequest url=http://post url useProxy=false method=POST mx:request xmlns= username{username.text}/usernamefirstname{firstname.text}/firstname lastname{lastname.text}/lastname /mx:request /mx:HTTPService 2007/3/14, Kevin

Re: [flexcoders] Form Handling?

2007-03-14 Thread Kevin
that's what I am after, I'll just have to build my own class for it. I am hoping Adobe's goal may be to eventually expand the form tag functionality. At this point, it seems like it doesn't really do much that can't be accomplished easily with out it. Form handling functions would be