The model: db.define_table('comment', Field('txt'), Field('tag'))
How do I pass/access the variable xyz, and the txt and tag field values in funcdone below? def funcdone(form): comment_id = form.vars.id ... def post_comment(): xyz = 123 form = crud.create(db.comment, onaccept=funcdone) return dict(form=form) Thanks!