Results 1 to 4 of 4

Thread: Use multiple in Input type File field

  1. #1

    Default Use multiple in Input type File field

    Hello.

    It's all in the title. I need to allow my users to send many files and there isn't the checkbox multiple in the field back office.
    Is there someone who find a solution for this kind of function ?

    Thanks :-)

  2. #2
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    484

    Default

    Make a copy of form_upload template rename it to 'form_upload_multiple' and put in the attribute 'multiple'.
    HTML Code:
    <input type="file" multiple name=...
    Select this template for the upload field.
    Test if Contao handles multiple files correctly.
    Make a feature request ticket at github/contao.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  3. #3

    Default

    I have already test, and No, it doesn't handle it :-/

    I'm surprised because it's an classical function. I will post this on Git.

  4. #4

    Default

    For any people who want to do this, there is a plugin !

    https://github.com/terminal42/contao-fineuploader

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •