0

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?

1
  • how did you solve it, please? Commented May 26, 2017 at 13:59

1 Answer 1

1

The multiple attribute in <input type=file> is a new feature in HTML5 with limited browser support. Are you using html5 doctype? If so try with multiple="multiple" instead, or just multiple.
In any way, I suggest you use something like plupload for this.

EDIT:

To select multiple files you need to Shift+Select them.

Sign up to request clarification or add additional context in comments.

4 Comments

I think you're doing it wrong. Try this multiple file upload. Then click "browse" and shift+select multiple files and it should work.
i know how to select files :D you didn't understand my problem, anyways i solved it by my self.
Hey Linas.. Im having the same problem. Could you please share how you solved the problem?
@Linas can you share your solution for this?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.