I have simple multiple selection input
<input multiple="true" type="file" name="image_name[]" />
Now i would like to keep selecting files with this one input and then submit my form
what i mean after selecting some files if i try to do it once more my old selection is removed, is there some kind of way to keep adding selections to that input?
If not what else could i do? I’m thinking of creating new input and hiding old one and so after user finishes selecting everything, just submit all inputs at once, would that be the right way to do it?
The
multipleattribute in<input type=file>is a new feature in HTML5 with limited browser support. Are you using html5doctype? If so try withmultiple="multiple"instead, or justmultiple.In any way, I suggest you use something like plupload for this.
EDIT:
To select multiple files you need to Shift+Select them.