<p>You will have to upload the files and index them as assets, then return the asset id's to your form. You can then use these asset id's in your form so you can post them to the server, effectively creating the relations you want.</p>

<p>I've put up a little gist that does this for jQuery File Upload - you can use it as a reference for any other upload mechanisms: <a href="https://gist.github.com/boboldehampsink/2e645655d613574ec4b7" rel="nofollow">https://gist.github.com/boboldehampsink/2e645655d613574ec4b7</a></p>

CC BY-SA 3.0
2015-06-22T19:16:38.833Z
2015-06-22T19:16:38.833Z
Bob Olde Hampsink
<p>I'm trying to come up with a nice UI experience for people to upload a CV and covering letter and I'm considering using something like <a href="http://www.dropzonejs.com/" rel="nofollow">http://www.dropzonejs.com/</a></p>

<p>I'm not sure how this would work with sprout forms because you have to put a action in the form to make it work (from what I can tell anyways)</p>

<p>Is there a solution for this or is there an alternative approach you know that would work?</p>

<plugin-sproutforms>
Is it possible to use something like dropzone.js for file uploads with sprout forms?
# Is it possible to use something like dropzone.js for file uploads with sprout forms?

(Asked by: username_0 on 2015-06-22)

I'm trying to come up with a nice UI experience for people to upload a CV and covering letter and I'm considering using something like <http://www.dropzonejs.com/>

I'm not sure how this would work with sprout forms because you have to put a action in the form to make it work (from what I can tell anyways)

Is there a solution for this or is there an alternative approach you know that would work?

**Tags:** plugin-sproutforms

---

## 1 answers

### Answer by username_1 on 2015-06-22. Score: 4 | Accepted answer

You will have to upload the files and index them as assets, then return the asset id's to your form. You can then use these asset id's in your form so you can post them to the server, effectively creating the relations you want.

I've put up a little gist that does this for jQuery File Upload - you can use it as a reference for any other upload mechanisms: <https://gist.github.com/boboldehampsink/2e645655d613574ec4b7>


---

