I suppose modified_on field is readonly, so it is not post back along form submitting, but you can inject it using hidden attribute, that could be passed to the grid through editargs. I would do the following: - detect edit action by checking request.args(-3)=='edit' - retrieve modified_on of db.tbl[request.args[-1]] - pass it to the grid - grid(..., editargs=dict(hidden=dict(modified_on=...))) - get it back by request.vars.modified_on in the onvalidation callback
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.