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 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" overwrite "onaccept"
>
> Next and onaccept should not overwrite each other, because they do 
> different things (code to run after form submission and set redirection in 
> response)
>
>

-- 



Reply via email to