Hi all,
When I have multiple “Upload File” areas in one block, it’s not showing each file name and is confusing. I am not using multiple file upload intentionally. Is there a way to show the file name when uploading on the user side?
Hi all,
When I have multiple “Upload File” areas in one block, it’s not showing each file name and is confusing. I am not using multiple file upload intentionally. Is there a way to show the file name when uploading on the user side?
Hi @interstaff,
Thanks for the post!
File names are only displayed when the Allow Multiple setting is enabled in the File Upload type of the User Input block.
Could you share a bit more about why you’re not using the Allow Multiple option?
When this setting is enabled, uploaded files are stored in a JSON array. If you need to handle each file separately, you can use the get helper to access individual items. Here’s an example:
Let me know what you think.