Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

html5 multiple file input


Go to End


1832 Views

Avatar
joern

Community Member, 28 Posts

15 February 2011 at 3:02pm

Edited: 15/02/2011 3:06pm

Hi,
I'm currently working on a new html5-website, which has a front-end form with multiple images.
HTML5 provides for this a new attribute in input fields (multiple="multiple"), which allows to upload multiple files.
My DataObject has a has_many-relationship in which the images should be saved.

Are there approaches that I could use? Does anyone have any idea?

Some research:
http://www.w3schools.com/html5/att_input_multiple.asp
http://verens.com/2009/12/28/multiple-file-uploads-using-html5/
http://code.google.com/p/jquery-html5-upload/

Thanks for your help
Jörn

PS: I know the wonderful Uploadify-plugin, but it must also work on mobile devices :-)