> the user still has to explicitly choose a file value to put into it And that's good...the user should know exactly what they're uploading and be able to control that.
However, if I want to take responsibility to designate an entire folder of files for upload, I should be able to do that, too. Not just one file at a time, but choose the folder and all its contents. Why not? > -----Original Message----- > From: Brian Kotek [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2008 6:35 PM > To: CF-Talk > Subject: Re: Pre-filling FileField Values > > The bottom line is that you cannot use JavaScript to set the value of a file > field. You just can't do it. The browser makers went out of their way to > make sure that this is impossible due to the devastating security issues > that would result if it were allowed. > > There is absolutely no way to insert a value into a file input element using > JavaScript. The only way a value can be put in there is a result of the user > choosing a file in the file selection dialog box. All the multi-upload > JavaScript tricks are doing is creating separate hidden file input fields, > but the user still has to explicitly choose a file value to put into it. > > Regards, > > Brian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311763 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4