[web2py] Re: SQLFORM.factory

2013-10-06 Thread Kees de Blois
ctions. > in that case, why don't you simply use redirect() from one action to > another ? > > On Sunday, October 6, 2013 5:46:40 PM UTC+2, Kees de Blois wrote: >> >> Thanks Niphlod for putting me on the right track. >> >> How do I load the session.thema

[web2py] Re: SQLFORM.factory

2013-10-06 Thread Kees de Blois
C+2, Niphlod wrote: > > I'd use onvalidation > > http://web2py.com/books/default/chapter/29/07/forms-and-validators#onvalidation > > > On Sunday, October 6, 2013 1:05:44 PM UTC+2, Kees de Blois wrote: >> >> How do I send the variable of the drop down list to

[web2py] SQLFORM.factory

2013-10-06 Thread Kees de Blois
How do I send the variable of the drop down list to another function? def tekstperthema(): response.flash = "Tekstregister items per thema view!" form = SQLFORM.factory(Field('thema',requires=IS_IN_DB(db,db.thema.id, '%(name)s'))) if form.process().accepted: response.flash