Forum
Multiple file uploads
I have tried adding a file input type with the multiple attribute to allow multiple files to be selected. However only one file is uploaded. Is this attribute not supported?
I have tried adding a file input type with the multiple attribute to allow multiple files to be selected. However only one file is uploaded. Is this attribute not supported?
Where are you trying this? Can you show us the code you're using and the result you're getting?
This is what is on an upload.html template page;
Without multiple="multiple" it works fine uploading one file as you would expect. With the multiple="multiple" included it works to a point in that you can select more than one file and the form field says 2 files have been selected, but when it is submitted only one file is uploaded (and included in the forms auto email).
That's not a scenario I've ever tested. I'll look it to look into the next time we work on forms.
Has any progress been made with this since the orignal post ?