[daisy] General Ajax form question
Karel Vervaeke
karel at outerthought.org
Tue Mar 4 05:05:30 CST 2008
This seems more like a general Ajax (or CForms?) question than a Daisy
question, but here's my shot in the dark:
Try handling the redirect in the browser. To do this, include an
element in your xml response like this:
<redirectTo>/path/to/thankyou.html</redirectTo>
On the client side, handle the response and set document.location to
whatever is found in the redirectTo-element.
HTH,
Karel
On Tue, 2008-03-04 at 11:56 +0100, Victor Oomens wrote:
> Dear all,
>
>
>
> I’m working on translating many forms in Daisy to ajax type. So far
> I’m successfully, that I got the forms working.
>
>
>
> But now my question:
>
>
>
> How can I return to another page after the user completes the form and
> presses the submit button? In my case, the form will be saved by the
> Apple, but the form still gets displayed. A simple redirect after a
> successful form processing won’t work, because the ajax form requires
> a valid xml response after submit.
>
>
>
> Hope someone can help me on this.
>
>
>
> Kind regards,
>
>
>
> Victor.
>
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
More information about the daisy
mailing list