forms icon indicating copy to clipboard operation
forms copied to clipboard

"Upload file" as question/response

Open llebout opened this issue 6 years ago • 37 comments

Hello!

Currently it is not possible to set up file uploads within forms, however, it would be quite useful to have to collect information other than answers or text from users. So I am suggesting this idea if some developer is bored and wants to work on it!

I may end up implementing this but not right now because time is lacking.

Thank you

llebout avatar Jul 26 '19 22:07 llebout

Indeed. Uploading a photo is essential for many forms.

spoorun avatar Jul 28 '19 08:07 spoorun

Or a file/program as a submission for a contest?

WNYmathGuy avatar Jul 31 '19 16:07 WNYmathGuy

+1

Are there any near-term plans to do it?

add-n2x avatar Oct 27 '19 14:10 add-n2x

I've been busy the past few months but will hopefully begin working on it again within the next month or so

affan-hussain avatar Oct 27 '19 16:10 affan-hussain

@affan98 is there any news on the upload functionality?

If you have time for it, I could be supportive too, if needed.

add-n2x avatar Nov 29 '19 19:11 add-n2x

I'd love this feature too. Thanks for your work.

Himra avatar Jan 10 '20 10:01 Himra

Adding support functionality would make this app super practical. Thank you for your work!))

Notespeak avatar Feb 01 '20 03:02 Notespeak

Any News ? File Uploads in forms would be extremely useful !

JonathanTreffler avatar Mar 11 '20 11:03 JonathanTreffler

Also interest here for such a feature. e want to guide our customers to provide complete submissions.

elsenatore avatar Mar 15 '20 11:03 elsenatore

+1!

squintarelli avatar Apr 04 '20 20:04 squintarelli

This would be very handy for job or membership candidates. I imagine that the upload could go to a selected NextCloud folder.

agentlibre avatar May 03 '20 22:05 agentlibre

For reference, this is the additional options Google Forms offers when you select "File upload" as a question type:

jancborchardt avatar May 04 '20 23:05 jancborchardt

This would be useful but would make me concerned about viruses, etc in files. Limit file types/maximum file size?

ei8fdb avatar May 06 '20 12:05 ei8fdb

@ei8fdb safe for nextcloud itself, but of course should be treated as any downloadable item from the internet. If you don't trust the source, take your precautions :)

skjnldsv avatar May 06 '20 12:05 skjnldsv

This would be useful but would make me concerned about viruses, etc in files. Limit file types/maximum file size?

Unless I'm mistaken, there is already an option to set a folder as a public upload/download pathway in NextCloud; I believe the question doesn't change here.

Restricting the file types seem a reasonable measure (e.g. only "usual" document extensions), or at least there should be a possibility to do so.

Besides technicalities, perhaps a generic warning (actually a reminder) could appear for general users who decide to enable public uploading/downloading of files/documents; in a pedagogical spirit.

agentlibre avatar May 06 '20 12:05 agentlibre

If you don't trust the source, take your precautions :)

I know, but with the best intentions it's not possible to be sure your file is "clean".

ei8fdb avatar May 06 '20 13:05 ei8fdb

Unless I'm mistaken, there is already an option to set a folder as a upload/download pathway in NextCloud; I believe the question doesn't change here.

Correct there is - its an option for users to accept uploads to a specific location.

Restricting the file types seem a reasonable measure (e.g. only "usual" document extensions), or at least there should be a possibility to do so.

There are best practices established for this. I know Google doesn't explicitly say its scanning files for malicious possibilities, but they do so. It's not plausible that all Nextcloud instances admins will have their resources.

Besides technicalities, perhaps a generic warning (actually a reminder) could appear for general users who decide to enable public uploading/downloading of files/documents; in a pedagogical spirit.

Instead of warning or reminder for this I feel it's better to explain it's possible to cause to be exploited if accepting file uploads and the user isn't scanning them for viruses.

ei8fdb avatar May 06 '20 13:05 ei8fdb

I know, but with the best intentions it's not possible to be sure your file is "clean".

unless you have an antivirus scanning your nextcloud apps, nothing we can do there I'm afraid :thinking:

skjnldsv avatar May 06 '20 13:05 skjnldsv

Has there been any progress on this maybe? We have users with use cases of submitting research proposals and they need to use webforms to capture all relevant data from the user, but need to be able to link a specific file submission to a specific user (form). So a public drop site is not an option. This feature would be greatly appreciated!

hanserasmus avatar Jun 02 '20 07:06 hanserasmus

@hanserasmus hi Hans! :) This is scheduled for 2.1, so if all goes well it would be for the release after the initial one. That initial release could come some time this month – any testing is appreciated so we can polish up for that.

jancborchardt avatar Jun 04 '20 23:06 jancborchardt

Hi Jan!

This is excellent news. I will be willing to test it. So will just have to keep an eye on the releases! Thank you so much for this!

On Fri, Jun 5, 2020 at 1:38 AM Jan C. Borchardt [email protected] wrote:

@hanserasmus https://github.com/hanserasmus hi Hans! :) This is scheduled for 2.1, so if all goes well it would be for the release after the initial one. That initial release could come some time this month – any testing is appreciated so we can polish up for that.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nextcloud/forms/issues/42#issuecomment-639172678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZAKEELQJ3ICTBJEK655JLRVAWBFANCNFSM4IHHVHQQ .

hanserasmus avatar Jun 05 '20 08:06 hanserasmus

can support here with testing and/or translation

elsenatore avatar Oct 27 '20 08:10 elsenatore

I've also got more time (and a test Nextcloud instance where I can test) available now so will be happy to test this functionality.

ei8fdb avatar Oct 27 '20 08:10 ei8fdb

Any progress on this? It would be an awesome feature! I just wanted to add my vote to support this!

bgravato avatar Mar 02 '21 19:03 bgravato

Seconded - I'd like to take entries for a photography competition.

mbo42 avatar Mar 17 '21 05:03 mbo42

I think this would really add a lot more use cases (i would like to use it as a reimbursement form for example). Is this being worked on somewhere/should there be a branch for it as it might be a lot of work?

jorants avatar Mar 21 '21 23:03 jorants

I need this too, if no one is working on it, I can take a look at it

mehdibo avatar Mar 31 '21 18:03 mehdibo

Agreed! Would love to have this feature.

amirmnsr avatar Apr 05 '21 17:04 amirmnsr

It would be great to attach a file from the files app (as a link).

nikoweb avatar Apr 10 '21 11:04 nikoweb

This feature would be awesome!

pablovp86 avatar Jun 17 '21 19:06 pablovp86