Many of those magic methods like like _after_update were really meant for py4web
and are poorly documented anyway.I would recommend:form = Form(..., dbio=False)if form.aaccepted:db.table.insert(x = form.vars.get("x"), y = encrypt(form.vars.get("y"))