Thanks for your reply. 1. I read about form processing. I thought the .process().accepted call would only be caught when "Submit" been pressed? 2. This is not an insert form, but a view form with update functionalities. It displays the record with the given ID (which is passed through the ID call).
Cheers... Op woensdag 17 juli 2013 13:47:34 UTC+2 schreef viniciusban het volgende: > > On Wed, Jul 17, 2013 at 6:02 AM, Koen Vanhees > <[email protected]<javascript:>> > wrote: > > > > That redirection works even before the page loads. > > What am I doing wrong? > > 2 things: > > 1) the else redirect to "third" because your form wans't processed > yet. Check manual and make some experiments to understand form > processing flow. > > 2) About your request.vars.id, show us your view. If this is an insert > form, you don't have an id yet. Again, check manual about SQLFORM > processing flow. > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

