And if you do need to just send changed items, put a, "isModified" property on the VO and set it when the data is updated..
I pass all edits through a single function, and since I usually use xml, I can set a datamodified="true" attribute on any changed node. When I send the data to the server, a function extracts the modified nodes and builds an update xml structure. Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of Tim Hoff Sent: Friday, May 08, 2009 1:40 PM To: [email protected] Subject: [flexcoders] Re: Sending textinput id Hi Gustavo, I'm not sure of your implementation, but many times it's easier to persist a working copy of the data in a value object (VO). Each property in the object, that is editable in the form, is bound to it's associated control. When a control changes, update the associated property in the VO. This way, you don't need to keep track of each change to the object. When the user submits the form, you just send the entire VO to the server for update. This assumes though, that you don't have a special need to keep a running tally of the changes. -TH --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, "valdhor" <valdhorli...@...> wrote: > > If you use the change event of the text input then the id is at event.target.id > > > Steve > > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, "Gustavo" xyrer@ wrote: > > > > Hi, I have a form and I would like to add the textinput id to an array so I know which fields were edited, I trigger the change event on each one but I can't send the textinput id via the event. > > any of this I'm saying makes sense? and if it does, how do I do it, or maybe there is a better way to update only the fields edited in a form? > > > > Some light about this would be really appreciated. thanks. > > >

