You have typo.. (see quote in red) Why do you want to do that like this?
In controller you could go like this : db.tablename.fieldname.readable = True or False If you need to hide field base on user group membership you will have to define the readable/writable field for each group in your function... You could also use function decorators and CRUD... Richard On Mon, May 30, 2011 at 10:16 AM, max <[email protected]> wrote: > Hi all, > I have been searching for a customizable way to select and deselect > fields. > i have found this way > > tempate_01 = {'myfiled':False, 'myscofield':True} > read this values in the db defitionion. > Field('myfield', type='text',readable=template_01['myfiled']), > > is this a good way to do this? > Because i generally don't like writing lots of global variables, > thanks >

