[web2py] SQL Forms Redirect

2014-05-06 Thread Mark Billion
I have an SQLFORM that accepts certain user data, and then needs to update the record that was just created. My command reads: form = SQLFORM(db.album).process(next=URL('album', args=[request.args(0,cast=int), *myform.vars.id*])) Both myform.vars.id and form.vars.id fail when included a

[web2py] SQL forms

2011-06-16 Thread Nils Olofsson
Hi, I have this: tags=db().select(db.event_tags.ALL) form =SQLFORM(db.events,fields=['title','venue','starttime','endtime','location','image','cost','website','booking','latlng','information']) #form = SQLFORM(db.events) my_extra_element = TR("",INPUT(_id='Lookup',_value="Check Map",_t