5537 Posts in 1737 Topics by 1223 members
|Go to End|
1 December 2010 at 4:30am Last edited: 1 December 2010 4:31am
Most probably a stupid question again:
I have a Form with a TableField in the CMS where a user can modify the values of a set of records at the same time. Now how do I (elegantly) save the changes back to the database?
My first attempt was to loop over the returned data, get every changed DataObject via its ID and save the changed data. This works... but there is a prettier way, isn't there?
showMessage("Saved") shows the message, I found out. But what snippet changes the status?
|Go to Top|