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

Join 118,924 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,961 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! 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 - 10: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 - 10:37 PM
Post #2


Head DIC Head

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



Thanked 39 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 offlineProfile CardPM

Go to the top of the page

ryanaghdam
post 18 Jun, 2008 - 10: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: 10/13/08 05:16AM

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