Cannot say without looking at the entire action.

On Nov 17, 11:35 pm, Wes James <compte...@gmail.com> wrote:
> I have this:
>
>     student=db(db.student.sid==user_id).select()
>     if (student):
>         form=crud.update(db.student,student[0])
>     else:
>         form=crud.create(db.student)
>
> But when I do a submit to the form it comes back with the data, before
> the submit.  If I refresh the browser window the correct values show
> up.
>
> Any idea 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 web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to