4

How can I select multiple files at once with filepicker.io? I can only find examples selecting one file at a time.

Joachim Sauer
  • 302,674
  • 57
  • 556
  • 614
kels
  • 175
  • 2
  • 7

1 Answers1

5

There are two ways of doing it.

If you are using the widgets, then set data-fp-option-multiple="true" (Note that it is the string true)

If you are using the javascript library, then set {'multiple': true} in the options.

Both examples in code: http://jsfiddle.net/yQJcL/

jlg_foil
  • 668
  • 1
  • 5
  • 6
  • Is there a way to select an entire folder? – kels Sep 18 '12 at 17:27
  • I'm going to add my comment that the docs don't really make this entirely clear. I think the docs are in need of at least a basic (or complete) code example or two. For a programmer that mostly deals with jQuery the little differences can become head-scratchers. – AJB Feb 12 '13 at 06:51
  • the examples on jsfiddle don't work for me...they send an alert message immediately after one file upload – algorithmicCoder Mar 17 '13 at 20:08