[MGNLFORM-285] File Upload: support the "multiple" attribute (HTML5) Created: 18/May/16  Updated: 22/Nov/23

Status: Open
Project: Magnolia Form Module
Component/s: field, validation
Affects Version/s: 2.3.4, 2.3.5
Fix Version/s: None

Type: New Feature Priority: Neutral
Reporter: Jean-Charles Robert Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: file, form, html5, multipart, upload
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relation
Template:
Acceptance criteria:
Empty
Date of First Response:
Epic Link: AuthorX Support
Team: AuthorX

 Description   

The "multiple" attribute is a new HTML5 feature.
It allows the user to select multiple files to upload.
https://www.w3.org/TR/html-markup/input.file.html

The "multiple" attribute is at the moment not supported.
That will require a change

  • in the MultipartRequestFilter or/and CosMultipartRequestFilter, both are not accepting the "multiple" option and not correctly pasring the request.
  • in the form validation, e.g. maxFileSize (FileUplaodValidator)

It would be nice to upgrade the fileUpload field or provide a new multipleFileUpload field


Generated at Mon Feb 12 05:38:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.