If I'm not off track, something like: session.conference_id = form.vars.[fieldx] ?
Or the other way around, but then you need to use SQLFORM.factory, I guess, and handle yourself the db insertion/update (see example in the book §7.3, or better this link: http://groups.google.com/group/web2py/browse_thread/thread/cb560f5fddec2d07 On 18 jan, 19:50, Jason Brower <[email protected]> wrote: > I am not so great with forms, but how do I set a particular value when > they have completed the form... > > #################################### > #MODEL > db.define_table('page', > Field('page_name', 'string'), > Field('url_name', 'string'),#Basically it takes the page name and > replaces spaces with _ > Field('conference_id', 'integer'), > Field('contents', 'text'), > Field('creator', 'integer') > ) > #CONTROLLER > page_form = SQLFORM(db.page) > #################################### > > And I want to set a field that is hidden in this form to > session.conference_id. > .... > Best Regards, > Jason Brower

