Jump to content


Activity Indicator?

  • Please log in to reply
2 replies to this topic

#1 jo.nova

  • Members
  • PipPip
  • Member
  • 27 posts

Posted 12 July 2006 - 04:02 PM

I've written a form that, upon submitting, sends all form data and an attached file to me.  If the file is large, a user will simply see the form while their file is uploading, giving them the impression that the page has locked up on them when it actually IS working on uploading their file. After the data is all submitted, they are presented with a thank you and confirmation number.

Is there a way to basically say: "While (the form data is posting) {display this message};" ?  I would like this to occur after the submit button is hit, and before the thank you and confirmation.

Does this all make sense?

Thanks in advance!

#2 cmgmyr

  • Members
  • PipPipPip
  • Advanced Member
  • 1,278 posts
  • LocationUSA

Posted 12 July 2006 - 04:05 PM

You can do this easily with ajax. Do a search in google for ajax contact form and you should get some examples.


#3 ShogunWarrior

  • Members
  • PipPipPip
  • Advanced Member
  • 528 posts
  • LocationIreland

Posted 12 July 2006 - 04:15 PM

There are a number of implementations, it needs carefully client-side and server-side coordination, have a start here: http://www.raditha.com/php/upload.php
<a href="http://www.daviddora...nmedia.com/">My New Site/Blog</a> | <a href="http://www.daviddora...m/check/">Check your page for broken links/images/scripts</a>

Zend Certified Engineer
Follow me on Twitter: http://twitter.com/davidd

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users