Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,482 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,239 people online right now. Registration is fast and FREE... Join Now!




cffile and uploading

 
Reply to this topicStart new topic

cffile and uploading, displaying a "please wait" image

rickdrew
post 10 May, 2008 - 09:14 PM
Post #1


New D.I.C Head

*
Joined: 10 May, 2008
Posts: 6


My Contributions


I have a simple upload form, works fine. But when people upload large files it appears like the form hangs. So they keep hitting "submit". I'd like an image to appear indicating that the file is uploading - not a real progress bar, just an animated GIF.

I tried placing it before the actual CFFILE command on the action page, but it does not appear until AFTER the upload is complete. Tried a simple text swap on the "Submit" button, but it's too subtle - people miss it.

Tried a CFINCLUDE before the CFFILE. Again, it did not appear until after the upload was complete.

Any ideas?

Thanks

Rick
User is offlineProfile CardPM

Go to the top of the page

skyhawk133
post 10 May, 2008 - 09:37 PM
Post #2


Head DIC Head

Group Icon
Joined: 17 Mar, 2001
Posts: 14,844



Thanked 45 times

Dream Kudos: 1650

Expert In: Web Development

My Contributions


How about an iframe or submitting the form to a hidden page, then having the page redirect when it's finished to effect the original page/frame?


So, submit to an iframe and when you press the submit button pop a loading div/image on top of the page, then on the cffile page, have it refresh the page or change the parent.location attribute using javascript.
User is online!Profile CardPM

Go to the top of the page

ryanaghdam
post 18 Jun, 2008 - 09:54 AM
Post #3


New D.I.C Head

*
Joined: 14 Jun, 2008
Posts: 8


My Contributions


Try sending the form to a popup window that says "Please wait while your files are uploading." Put a pinwheel GIF on there, too. People think something's going in those tubes if there's something spinning.

Have your results page display something like: "Your files have finished uploaded. Excuse the delay; the tubes are clogged." and a button to close the window.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/22/08 03:13PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month