Replies: 2 comments 1 reply
-
Hi @duc-bhcoe Unfortunately, the S3 upload component currently only accepts one file at a time. There are a couple of things you could do to work around this - one is simply to use the internal Budibase DB which has an "Multi Attachment" column type, and it's corresponding "Attachment List" form field. If that doesn't fit your needs, you could try a different approach. I've mocked up a form here for you that allows the user to upload multiple files, while making use of conditional settings. In this example I've created a form requesting proof of identity from the user. Firstly, I put together the form with some fields for first name and last name, and added a multi-select picker, and three S3 Upload components. The first name and last name fields work as you would expect, with the field being the name given for the bindings, and the label being what the user sees when filling out the form. With the Multi-Select Picker I've set the "Options Source" to custom, and specified 3 options, labelled Driving Licence, Passport, and Birth Certificate, and all given much neater, shorter codes for the value. (I've also set this field to "required". Next, on each of the three S3 Upload components, I've added their Field and Label accordingly. I've then used Conditional UI in the settings menu to add two conditions as follows: "Show Component" if "DL" is in We also update the settings of the Driving Licence S3 upload component, if the multi-select picker has it checked, to make it so that the s3 upload is required to submit the form. Repeat the steps for each of the other s3 uploads, making sure the conditions are copied over accordingly. Lastly, on your Submit button, make sure you include a "Validate Form" action You can see this app working here: https://jam.dev/c/835a21ec-f02e-402e-8905-3aa4b95dbb90 And if you wanted to take a closer look you can also import it to your local instance from here: Please feel free to customise this in whatever way best suits your needs. |
Beta Was this translation helpful? Give feedback.
-
Thanks @mikesealey, However, we have scenarios where users need to upload more than 10 files within a single category, for which this solution wouldn't be ideal. Can you also advise if Budibase supports embedding external file upload services via iframe? This could potentially provide an alternative solution for our high-volume upload requirements. Looking forward to seeing this functionality enhanced in future versions of the component. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I'm looking for guidance on handling multiple file uploads in Budibase. Specifically, I'd like to know if anyone has successfully implemented multiple file uploads using the S3 file upload component.
Has anyone found a working solution for this use case? If the S3 component doesn't support multiple files, I'd be interested in hearing about alternative approaches or workarounds you've implemented.
Any examples or suggestions would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions