NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rob Mikkelsen on January 13, 2009, 08:42:06 PM

Title: Multiple File Uploads
Post by: Rob Mikkelsen 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
Title: Re: Multiple File Uploads
Post by: Bruce 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

Title: Re: Multiple File Uploads
Post by: Rob Mikkelsen on January 23, 2009, 08:12:55 PM
Thanks, Bruce.  I will give it a go.