I have this in a controller:
def qentry():
if auth.is_logged_in(): redirect(URL(r=request,c='default',f='page1'))
student=db(db.student.sid==2).select()
form=crud.update(db.student,student[0], next='qresults')
return dict(form=form)
The first time the page runs it should just return the form. It does that.
On this page if I click on next it should process the next option
since it is updating the data. It is not, it just comes back to the
form. Why?
thx,
-wes
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.