If I don't want to see certain fields I suggest something like this:

rec = db.thing(request.args(0))    
db.thing.firstUserId.readable = db.thing.firstUserId.writable= False
form = SQLFORM(db.thing, rec)

But if that's not what you mean,  take a look at the "hidden" parameter for 
SQLFORM too.

e.g.
hiddenfields = {
    'firstUserId' : 1,
    'secondUserId' : 2,
    'thirdUserId' : 3
}
form = SQLFORM(db.thing, rec, hidden=hiddenfields)

Hope the above at least gives you something new to try.
Regards,
David

-- 



Reply via email to