So you shoudl do
def update_form():
if not (club and address and nfas and persoon):
session.flash = "You have been redirected because you did not
supply all of the correct data"
redirect(URL(r=request, a='init', c='clublocator', f='application_form'))
return dict(form=form)
Then
Thadeus and Jonathan,
Thanks for you replies. I am afraid I haven's made myself clear.
However, your replies pointed me in the right direction.
I have an update_form, in which I set the values by querying the
database, which results in four rowsets. When one of the rowsets is
empty, the function
2 matches
Mail list logo