Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install plone.formwidget.multifile

How to install plone.formwidget.multifile

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install plone.formwidget.multifile
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0a6Never BuiltWhy not?
1.0a1 Available View build log
Windows (64-bit)
1.0a6Never BuiltWhy not?
1.0a1 Available View build log
Mac OS X (10.5+)
1.0a6Never BuiltWhy not?
1.0a1 Available View build log
Linux (32-bit)
1.0a6Never BuiltWhy not?
1.0a4 Available View build log
1.0a1 Available View build log
Linux (64-bit)
1.0a6 Available View build log
1.0a1 Available View build log
Lastest release
version 1.0a6 on Jan 9th, 2014


plone.formwidget.multifile is a z3c.form-widget which lets users upload multiple files, either at once, or in batches using repeated form submissions.

Browsers that do not implement the file input "multiple" attribute are supported via javascript adding of multiple file inputs. This also works with browsers that do support "multiple", and allows users to add and remove files in bundles. Upload does not occur until the form is saved.


Using the widget is quiet easy:

>>> from plone.directives import form as directivesform
>>> from plone.formwidget.multifile import MultiFileFieldWidget
>>> from plone.namedfile.field import NamedFile
>>> from zope import schema
>>> from zope.interface import Interface
>>> class IMySchema(Interface):
...     """My schema interface"""
...     directivesform.widget(files=MultiFileFieldWidget)
...     files = schema.List(title=u'Files',
...                         value_type=NamedFile())

We do not yet support ordering. There is no fallback for non-html5, non-javascript browsers. They will only be able to upload 1 file at a time.


1.0a6 (2013-01-22)
  • Fixed bug: "add files" link was opening multiple file dialogs. [rafaelbco]
  • Fixed bug: bugfix of the previous release didn't work on IE 7. [rafaelbco]
1.0a5 (2013-01-21)
  • Fixed bug on IE: When an file-input is opened via a scripted, forced click() event, IE won't let you submit the form. [rafaelbco]
  • Updated pt_BR translation. [rafaelbco]
1.0a4 (2012-12-20)
  • Updated URL on setup.py [rafaelbco]
1.0a3 (2012-12-20)
  • Changed the UI so now there's a link to "add files" instead of an standard input[type=file] HTML element (which still exists, but is hidden). Users were complaining that the old UI was confusing since the textbox of the input[type=file] element was always empty. [rafaelbco]
1.0a2 (2012-12-20)
  • Removed integration with jQuery plugin. Instead we use HTML and javascript, and when applicable, the "multiple" extension from HTML5 which lets a user upload multiple files at once. [tmog]
  • Fix minor bugs on the new non-flash implementation. [rafaelbco]
  • Removed dependency on plone.app.drafts. [rafaelbco]
1.0a1 (2011-09-13)
  • Initial release

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.