NetTalk Central

Author Topic: Multiple File Uploads  (Read 2150 times)

Rob Mikkelsen

  • Full Member
  • ***
  • Posts: 107
    • Yahoo Instant Messenger - flashpott
    • View Profile
    • Email
Multiple File Uploads
« on: January 13, 2009, 08:42:06 PM »
I am working on a project that requires the submission of a large number of photographs.  I have implemented the file upload example which works fine for one file at a time.  Before I venture into uncharted territory (for me), is it possible to upload multiple files from a single page (say, up to 10) with one form submission?  Even better, can you multi-select and upload several with one file search?

Thanks!

Rob

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Multiple File Uploads
« Reply #1 on: January 22, 2009, 11:06:38 PM »
Hi Rob,

I don't think I've done it myself, but I thing Graham Smith has done a multi-file-form before.

I don't think there's any restriction on the number of file upload fields on a page.

So let's say you have 10 fields on the page. One idea is to make them all hidden, and then unhide them dynamically as the user enters files. So rather than show all 10 to start with you just show 1. Then if he fills that in, you unhide number 2 and so on.

Cheers
Bruce


Rob Mikkelsen

  • Full Member
  • ***
  • Posts: 107
    • Yahoo Instant Messenger - flashpott
    • View Profile
    • Email
Re: Multiple File Uploads
« Reply #2 on: January 23, 2009, 08:12:55 PM »
Thanks, Bruce.  I will give it a go.