Jump to content

Archived

This topic is now archived and is closed to further replies.

jo.nova

Activity Indicator?

Recommended Posts

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!

Share this post


Link to post
Share on other sites
You can do this easily with ajax. Do a search in google for ajax contact form and you should get some examples.

-Chris

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.