jo.nova Posted July 12, 2006 Share Posted July 12, 2006 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! Quote Link to comment https://forums.phpfreaks.com/topic/14393-activity-indicator/ Share on other sites More sharing options...
cmgmyr Posted July 12, 2006 Share Posted July 12, 2006 You can do this easily with ajax. Do a search in google for ajax contact form and you should get some examples.-Chris Quote Link to comment https://forums.phpfreaks.com/topic/14393-activity-indicator/#findComment-56812 Share on other sites More sharing options...
ShogunWarrior Posted July 12, 2006 Share Posted July 12, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/14393-activity-indicator/#findComment-56816 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.