>
> I have a CFFILE question:
>
> I have a form which allows a user to upload three different
> images at the same time
>
> I have three different <cffile action="" tags on
> the processing page.
>
> The problem is it only uploads the very first image...
I've run upto 10 on the same page without problems (apart from users
clicking Submit more than once :P), so I know the functionality will
work
> <cffile action="" filefield="form.tLogoFilename"
Remove the "form." from the filefield, it's not needed or wanted
Try this:
Name the 3 fields as "FileUpload_1", "FileUpload_2" and "FileUpload_3"
Then run your code with a <cfloop around them
Also, your JS will only report one error before exiting the template
(your <cfexit>)
I'd also suggest displaying the message on the page, and then offering a
link back - it will give the opportunity to show more than one message
at the same time, rather than one popup
Not forgetting that your popup doesn't say which image failed
HTH
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

