I have an application that asks users to fill in a form. Users fill in and submit the form which it takes a few minutes to be processed. While is being processed the users still see the form and not the uncompleted page that displays the results. I would like to be able to present to the users a message like "This action will take a few minutes to be completed --Please wait" What is the best way of accomplishing that? TIA Hara
Dilley, Hara wrote:
I have an application that asks users to fill in a form. Users fill in and submit the form which it takes a few minutes to be processed. While is being processed the users still see the form and not the uncompleted page that displays the results. I would like to be able to present to the users a message like "This action will take a few minutes to be completed --Please wait" What is the best way of accomplishing that?
See Zope-Help -> Api-Reference -> Response -> write -mj
When I've needed to do this, I normally do it through a javascript alert when the form is submitted just telling the user they will have to wait (put it in the onsubmit="" of the form tag) Otherwise you could use javascript to pop up a new (small) window saying "submitting data" or something (even a nice animated gif), and then close it (with javascript once again) on the following page. Dilley, Hara wrote:
I have an application that asks users to fill in a form. Users fill in and submit the form which it takes a few minutes to be processed. While is being processed the users still see the form and not the uncompleted page that displays the results. I would like to be able to present to the users a message like "This action will take a few minutes to be completed --Please wait" What is the best way of accomplishing that?
TIA Hara
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Chris Beaven -
Dilley, Hara -
Maik Jablonski