Display a "Waiting Message" before the POST form send
- by DomingoSL
I have a upload file form, when you hit Submit it send the file to my server, but it takes a while, in the mean time i need to tell the user wait in order to get the file uploaded, because he can press Submit again because there is no menssage to prevent him.
So, the user fill a few fields in the form, including a file. When he Send the form it sends the variables via POST to the same page:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data" method="post">
A php script detect the page now have POST variables a do something. In the time between the send action and the page reload i need to display a mensage, how can i do that??? Thanks
It will be nice if you now how to trigger that with colorbox. I know how to use it from a link but no from this POST action.