Try this: form = crud.create(db[table]) form.element('form').update(**dict(_class='no_trap', action=URL('default','create_fvte'))) The _class='no_trap' should turn off the trapping of the form, and the action=URL('default','create_fvte') should ensure that the untrapped form gets submitted back to the create_fvte function rather than the parent page (i.e., the index function). Because the form will not be submitted via ajax, the redirect should work as usual and reload the entire page. Anthony
- [web2py] SECOND TRY TO GET IT ON THE LIST how redirect wit... Richard Vézina
- Re: [web2py] SECOND TRY TO GET IT ON THE LIST how red... pbreit
- Re: [web2py] SECOND TRY TO GET IT ON THE LIST how... Richard Vézina
- Re: [web2py] SECOND TRY TO GET IT ON THE LIST... Richard Vézina
- Re: [web2py] SECOND TRY TO GET IT ON THE ... Anthony
- Re: [web2py] SECOND TRY TO GET IT ON... Richard Vézina
- Re: [web2py] SECOND TRY TO GET I... Richard Vézina
- Re: [web2py] SECOND TRY TO G... Anthony
- Re: [web2py] SECOND TRY TO G... Richard Vézina
- Re: [web2py] SECOND TRY TO GET IT ON THE LIST how red... Anthony
- Re: [web2py] SECOND TRY TO GET IT ON THE LIST how... Anthony
- Re: [web2py] SECOND TRY TO GET IT ON THE LIST... pbreit
- Re: [web2py] SECOND TRY TO GET IT ON THE ... Richard Vézina
- Re: [web2py] SECOND TRY TO GET IT ON THE LIST... Richard Vézina
- Re: [web2py] SECOND TRY TO GET IT ON THE ... Anthony
- Re: [web2py] SECOND TRY TO GET IT ON... Richard Vézina
- Re: [web2py] SECOND TRY TO GET I... Anthony
- Re: [web2py] SECOND TRY TO G... Richard Vézina
- Re: [web2py] SECOND TRY TO G... Anthony