Thanks Massimo, but I'm struggling with how to apply this as I don't ever process the form.
I'm doing: grid = SQLFORM.grid(...) return dict(grid=grid, ...) How would I hook into the grid's process() function? > SQLFORM(...).process(...) > > takes two callback functions > > process(onvalidation=lambda form:...., onaccept=lambda form:....) > > on validation is called when form is submitted, passes validation, and > before the database is updated. > > > On Friday, 25 January 2013 17:16:40 UTC-6, backseat wrote: > > > > I have a SQLFORM.grid, and I hook into edits with 'onupdate'. > > > > Is there an easy way to tell which field(s) have been edited? It seems > > that by the time onupdate is called, the database has already been > > updated, so comparing the form record with the db shows no > > differences. > > > > Thanks. > > -- > > We're looking for smart Linux people: > > http://www.tiger-computing.co.uk/jobs/linux-support-consultant/ > > > -- We're looking for smart Linux people: http://www.tiger-computing.co.uk/jobs/linux-support-consultant/ --