SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
-
May 24, 2002, 20:28 #1
Multiple Selections on Browse Form Fields
How do you allow multiple selections on "browse" form fields?
Code:<input type="file" name="hidden1" size="30">
Code:<input type="file" name="hidden1" size="30" multiple>
-
May 24, 2002, 20:37 #2
- Join Date
- Oct 2001
- Location
- Beyond yonder
- Posts
- 2,384
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I don't think there is a way. :-(
Most of the time I see something like that, you have to upload the files one at a time. I suppose though, a nifty JavaScript contraption could work for multiple files. So it isn't all bad news. :-)
~~Ian
-
May 24, 2002, 20:47 #3
Aww... there has to be SOME way! I know in normal Windows programs it's possible. I just don't know where...
-
May 24, 2002, 21:12 #4
- Join Date
- Oct 2001
- Location
- Beyond yonder
- Posts
- 2,384
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Do you know for certain that the target audience will be using Windows and Explorer? If so, there may well be a way, but I don't know it, 'cause I use Opera.
If you look at the free e-mail access sites, they all seem to use a browse field with a 'add attachment' button so that you have to load up the files one at a time. Taking my cues from them, I don't think there is a cross browser way, unfortunately. You'd think there should be, though. :-(
~~Ian
-
May 24, 2002, 21:13 #5
It's not ESSENTIAL for multiple selections. If it works on Windows and not on Mac, then it still works for singel files, at least. It's for http://4netdesign.com/clients/admin.html
-
May 25, 2002, 03:22 #6
- Join Date
- Jan 2001
- Location
- Lawrence, Kansas
- Posts
- 2,066
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I am absolutely positive that there is no way to do multiple file selections other than proividing multiple "browse" fields. Even with javascript you weon't be able to do it as javascript is disabled for browser fields on ALL modern browsers (for obvious reasons - the last thing we want is sites that can secretly use javascript to populate the file upload field with important files from your PC and upload them without you knowing).
You might be able to do multiple file uploads using a java applet or some kind of nasty active X component however.
-
May 25, 2002, 07:45 #7
Oh
Es no far!
Bookmarks