A
andrei
Hi Group,
In my program, the user has to be able to add one or more documents (as
files) for one product from the database.
The number of files to be uploaded can vary from 1 to maybe 30-40 and each
one will receive a number in a sort order,
I understand that there is no way to let the user dynamically choose
multiple files and submit them all at once (like for example as full paths
in a listbox), so I have to put a <input type=file...> for each file to be
uploaded.
Though, what I would like to do is to be able to modify the number of
displayed <input type=file...> controls on the page, so that I do not have
to always display the maximum number of controls (and this might not work
for some situations - what if the user wants to upload 41 files instead of a
maximum, let's say, of 40 ?)
What do you think ? Is this a good approach ? Can it be handled other ways ?
Thank you for any suggestions,
Andrei.
In my program, the user has to be able to add one or more documents (as
files) for one product from the database.
The number of files to be uploaded can vary from 1 to maybe 30-40 and each
one will receive a number in a sort order,
I understand that there is no way to let the user dynamically choose
multiple files and submit them all at once (like for example as full paths
in a listbox), so I have to put a <input type=file...> for each file to be
uploaded.
Though, what I would like to do is to be able to modify the number of
displayed <input type=file...> controls on the page, so that I do not have
to always display the maximum number of controls (and this might not work
for some situations - what if the user wants to upload 41 files instead of a
maximum, let's say, of 40 ?)
What do you think ? Is this a good approach ? Can it be handled other ways ?
Thank you for any suggestions,
Andrei.