Send files with pure HTML

If you also want to send files along your data, it doesn't get much more complicated. All you need to do is to make sure you use enctype="multipart/form-data" and additional file input fields:

<form action="https://plus.dropzone.dev/_p/{YOUR_PROJECT_ID}"
  method="post"
  enctype="multipart/form-data"><!-- << Note the enctype here -->
  
  <input type="text" name="name" />
  <input type="text" name="email" />
  
  <input type="file" name="profilePicture" />
  <input type="file" name="bannerImage" />
  
  <button type="submit">Send</button>
</form>

That's it. The file will get uploaded and you'll get access to all the data via email or the dashboard.

Last updated