I am creating a form with the file upload feature. There is the option to choose the file type as either ‘document’ or ‘image’. I would like to know exactly what file types are considered ‘document’ and which are ‘image’. More importantly, it is possible to choose both? If not, this could be quite limiting. For example, I would like to give my users the opportunity to add either pdfs or jpgs but through the use of just one button/field.
Hi,
Unfortunately, you have to choose between the types (doc or image).
Regarding the formats… it is the same as the ones that you can upload as site owner.
for example, in file manager/images:
Liran.
Thank you very much for your response, Liran. I will find an alternative solution!
I see that it has been a while since you’ve asked that, but it might help others in the future.
I’ve had the same problem and managed to get a work around -
Although you can’t program the upload button to accept all file types, i have created a selection picker that allows the user to pick the desired file type, and then the picker will change the supported file type of the upload button.
Code attached might help you implement this in your site.
It basically says - If no selection was made then the button is disabled.
Then it assigns a file type to the button according to the user’s selection.
It is not an ideal solution but i think it’s a nice work around that allows users more freedom.