Issue Bug Closed

#105708Multiple uploads in Form Framework

Tiran Grigoryan 11/27/24, 10:52 updated 03/31/26, 09:00

Description

Hello everyone,
I want to use an upload field with multiple in Typo3 Form.
However, when submitting, I get a validation error message.
Is it a bug? Does Form Framework not support upload with multiple? How can I do it?

<formvh:form.uploadedResource
            property="{element.identifier}"
            as="resource"
            id="{element.uniqueIdentifier}"
            class="{element.properties.elementClassAttribute}"
            errorClass="{element.properties.elementErrorClassAttribute}"
            additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
            accept="{element.properties.allowedMimeTypes}"
            multiple="multiple"
        >
            <f:if condition="{resource}">
                <div id="{element.uniqueIdentifier}-preview">
                    {resource.originalResource.originalFile.name}
                </div>
            </f:if>
</formvh:form.uploadedResource>

Reviews 1

Files 1

History 847

Show 622 earlier messages
  1. Torben Hansen commented <span data-processor="relativetime" data-value="2024-11-27T19:00:43+00:00" > 11/27/24, 19:00 </span>

    As far as I know, the form framwwork has no support for uploading multiple files.

  2. Simon Schaufelberger changed subject Muliple Upload in Form Framework Multiple uploads in Form Framework <span data-processor="relativetime" data-value="2024-12-14T10:25:02+00:00" > 12/14/24, 10:25 </span>

  3. Thorben Nissen commented and changed Complexity medium <span data-processor="relativetime" data-value="2025-07-17T20:07:14+00:00" > 07/17/25, 20:07 </span>

    I just ran into this bug. Unbelievable… I’m working on a fix though. However, I have a feeling that TYPO3’s bureaucracy may not let it go into v13.

    Nevertheless, I will publish the patch and link it here.

  4. Markus Hofmann commented and changed attached form-allow-multiple-upload.patch <span data-processor="relativetime" data-value="2025-12-05T17:24:17+00:00" > 12/05/25, 17:24 </span>

    I made a ptch for local and TYPO3 v12. Hope, this helps with investigating, how to implement the feature

  5. Garvin Hicking commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2025-12-05T19:18:24+00:00" > 12/05/25, 19:18 </span>

    Hi Markus,

    That sounds quite nice. I’m afraid this is not possible to get into v12 due to it being in “important fixes only” mode, and also unlikely for v13. But it would be cool to have in v14! Would you like to contribute your patch “officially” so it could also be credited to you?

  6. Markus Hofmann commented <span data-processor="relativetime" data-value="2025-12-05T20:14:38+00:00" > 12/05/25, 20:14 </span>

    Hi Garvin,

    yes, I think, I can investigate some time there, but unfortunately, I’m currently a bit confused, how to test this properly.

    Additionally, I’m not sure, if this is really a bug or just a missing feature.

  7. Gerrit Code Review pushed patch set 1 for main to change 92018 status Needs Feedback Under Review <span data-processor="relativetime" data-value="2025-12-05T21:06:11+00:00" > 12/05/25, 21:06 </span>

  1. Markus Hofmann commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-02-24T12:15:08+00:00" > 02/24/26, 12:15 </span>

    Applied in changeset commit:8357227e46b10de0a7e7bf8e7c635a0654ca7915.