Yes: db.thetable.thefield.writable = (request.args(-1) == 'new')
On Monday, 1 April 2013 17:31:16 UTC-5, DeanK wrote: > > I've been searching and haven't seemed to find someone trying to do this > yet. I'm wondering if there is a way to use the smartgrid, but limit what > fields can be edited after you create an entry. I want to be able to use > the smartgrid interface to create a new entry in some tables, but after the > user submits and my oncreate callback runs, the user can only edit certain > fields via the smartgrid (but still view them all). Is that possible? > > Thanks, > Dean > -- --- 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/groups/opt_out.