Looks like a good way to go, Matt. I'm having a problem, however.
I'm getting an error message in Firebug: jQuery is not defined ;if(jQuery) (function($){ (Lin69 in jquery.Multifile.js) However, I've have the jQuery core and Multifile plug-in linked. The core and plug=in are in the same directory as the page using them. <script type="text/javascript" src="jquery-1.2.3.js"></script> <script type="text/javascript" src="jquery.MultiFile.js"></script> And my HTML is modified as follows: <input name="image_upload_1" class="multi" accept="jpg|jpeg" size="60" value="" type="file"> Any ideas? Thanks for your help! Rick > -----Original Message----- > From: Matt Williams [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 20, 2008 5:31 PM > To: CF-Talk > Subject: Re: Multiple File Inputs of Same Name Create Comma Delimited List? > > OR > http://www.fyneworks.com/jquery/multiple-file-upload/ > > On Thu, Mar 20, 2008 at 1:22 PM, Adrian Moreno <[EMAIL PROTECTED]> wrote: > > Rick, > > > > it works the same way as other form inputs: you'll get a comma-delimited > > list of files. > There's no need to have different field names for each file input. Just do a > CFLOOP using that > field name as a list and you're good to go. > > > > -- Adrian > > > > > > >Hi, all. > > > > > >I've been working with jQuery to create a cloning system > > >where I can click a link and add multiple file upload fields. > > > > > >But I'm a little confused about how to proceed on the CF side, too. > > > > > >Should all file upload fields have the same name and generate > > >a comma delimited list of files that I can loop over with CF > > >and create a record in the db for each? > > > > > >Or should I change the DOM to clone new file fields with unique > > >names? This approach seems problematic, because it seems that > > >it would be more difficult to create distinctly named file fields and > > >than to have to figure out how many fields there are to loop > > >over. > > > > > >One question is whether or not file fields with the same name > > >will create a comma-delimited list of file names as with radio or check > > boxes. > > >I was having trouble making that happen. > > > > > >Thoughts, anyone? > > > > > >Thanks, > > > > > >Rick > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301710 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4