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:301661
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to