Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple File Upload Plugin #9

Open
rolandf opened this issue Jan 14, 2024 · 2 comments
Open

Multiple File Upload Plugin #9

rolandf opened this issue Jan 14, 2024 · 2 comments

Comments

@rolandf
Copy link

rolandf commented Jan 14, 2024

It would be nice if it was possible to add a "files" area to the form where you can upload as many files as the site owner allow.
Either for administrative tasks for health insurance in Belgium or to join university, you need to upload a lot of files with the form such as pdf and ID card picture.
I'm not sure how to structure that so it is left as an option and not polute original form builder with too many dependencies.such as Uppy or Dropzone.
With a little help to get the way to implement it right I can work on this feature.

@fsbraun
Copy link
Member

fsbraun commented Jan 15, 2024

Frankly, that's an important bit I have left out so far, because of all its security implications.

I would put it into a contrib/upload sub app so that users can decide if they want to install it. Its dependencies would be collected there (and be optional for the main package). I'd appreciate it if you wanted to give it a go. Happy to help any time.

@rolandf
Copy link
Author

rolandf commented Jan 15, 2024

I'm not up to speed with javascript so for the frontend I'm not sure what is best. I was thinking to put a file field by default and to use htmx to add an additional file field once the previous one has been filled if the user choose to allow multiple uploads. I think that with the help of a code assistant I should be able to integrate a javascript file upload widget but I'm not sure which one to choose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants