I think you should be able to set the value after you create the form in your 
controller:

comment_form = SQLFORM(db.comment)
comment_form.vars.post_id=post.id

 http://www.web2py.com/book/default/chapter/07#Pre-populating-the-form 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to