helloflask / helloflask/flask-dropzone

Nesting dropzone in existing form?

Open
#14 24 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
246
Forks
66
PR merge metrics
No merged PRs in 30d

Description

I have a form for posting blog entries. I want to be able to submit multiple fields at once. Instead of designating the class of the form as 'dropzone' is it possible to be able to have a dropzone div nested in my current form so one button will submit all my fields, including multiple image upload, at once?
Something like this [stackoverflow question](https://stackoverflow.com/questions/17872417/integrating-dropzone-js-into-existing-html-form-with-other-fields), but with flask-dropzone. Thanx in advance for any assistance!

My form:

```


Post title:

Post date:

Post description(one sentence):

Post html file:

Post image(s) file:



{{ dropzone.create(action=url_for('show_posts')) }}


Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.