I would like to make “Upload” instead of “Add” with selection:
So that result would be only one button: Upload, without any selection.
I would like to make “Upload” instead of “Add” with selection:
So that result would be only one button: Upload, without any selection.
Why? The main purpose of a select field is to select something. Your user would never be able to select an already uploaded file then.
And no, that’s not possible. You can create a custom field, though.
Workflow for client is usually upload one or few files, so purpose is to have one click instead of two, also easier to understand, that user has just to upload, rather than see two options and be confused what he should select.
Possible to use files section, but problem is that it can be used only once on the page, also it’s better to work with files field in templates.
But if the user has already uploaded a file, then another, and then changes their mind and wants to get back to the first file, there would be no way to achieve that. They cannot upload an already existing file and they cannot select that anymore, either.
To make it easier for users who might be confused, some help text could be, well, helpful.
If the purpose is only to upload one or more files, then go with a files section. You can use as many files sections on a page as you need, only it would probably make sense to assign different templates to those files sections to prevent that all sections show the same files.
Ok, clear, thank you.
Files field vs. files section:
Files field
query
option; the query
allows you to fetch files from different parents and to filter the set by any criteria; if no query is set, the field defaults to files of the current pageFiles section
parent
optionaccept
option in the given files templateOne further important difference: Files sections can’t be translated. If the user should be able to pick different files per language you can’t use the files section.