Limit file to be attach in multiple file upload

Limit file to be attach in multiple file upload

Comments

  • Hi,

    How can I limit the attachments user can attach in a multiple file upload with output type File Data?

    Regards,
    Ezra

  • Hey,

    Are you referring to the number of files or the size of the file?

  • Hi Osman,

    Apologies for not being clear. I am referring to the number of files to attach.

    Regards,
    Ezra

  • Hi Ezra,

    Unfortunately there is no way to do this natively. I think this would make a good feature in the product. A possible workaround would be to use an active form flow to take in the file list count and run a rule to check if the file list count is greater than 5. If true then disable the multiple file upload button. If false, end the flow. Put together a quick example, see attached.

    Best,

Sign In or Register to comment.