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". If the onaccept 
function itself calls redirect(), that will immediately end the current 
request and do the redirect, so the redirect to "next" will not happen in 
that case. Technically, nothing is being "overwritten", but yes, onaccept 
will override "next" (assuming onaccept does a redirect).

Anthony

-- 



Reply via email to