[web2py] Re: onaccept vs next (auth.register)

2012-08-12 Thread Anthony
On Sunday, August 12, 2012 9:51:20 AM UTC-4, lyn2py wrote: > > Thanks Alan, on > > > will "next" overwrite "onaccept" > > I meant to use onaccept as a redirect to another form. > Will the redirect in "next" overwrite onaccept's redirect? > The call to onaccept happens before the redirect to "next

[web2py] Re: onaccept vs next (auth.register)

2012-08-12 Thread lyn2py
Thanks Alan, on > will "next" overwrite "onaccept" I meant to use onaccept as a redirect to another form. Will the redirect in "next" overwrite onaccept's redirect? On Sunday, August 12, 2012 8:22:05 PM UTC+8, Alan Etkin wrote: > > > May I know what is the difference between the two? > > Not su

[web2py] Re: onaccept vs next (auth.register)

2012-08-12 Thread Alan Etkin
> May I know what is the difference between the two? Not sure in this case, but for crud, *onaccept* is "... *a function* to be called after the form submission is accepted and acted upon, but before redirection. ...", and *next* is "...*the URL*to redirect to after success ..." > will "next" o