Do you want to manipulate it (a) after submission but before validation (use request.vars.incorso), (b) after validation but before the insert (use crud.settings.create_onvalidation), or (c) after the record is inserted (use crud.settings.create_onaccept).
Anthony On Wednesday, September 5, 2012 11:09:41 AM UTC-4, tommasot wrote: > > I have the following code in the controller about record creation > > *form = crud.create(db.anno,next='list_anno')* > > This is the model,how you can see is very simple :) > > *db.define_table('anno', > Field('descrizione'), > Field('incorso','boolean'),format='%(descrizione)s')* > > Now i want to catch the 'incorso' value posted from the form and > manipulate the value if some condition is satisfied. > > The question is how can i intercept the value, i hope there is something > like form.field > > > Thanks > --