Form with File Uploads

How to setting up a form that receives files from your static site

To enable form to receive file uploads you need to :

  1. Add enctype="multipart/form-data" to your HTML form tag.

  2. Use input input field with file type and named it fcbs_attachment

Here is some code snippet

Single file upload

<form action="https://api.formcubes.com/reg/v1/s/{Your Form ID}" method="POST" enctype="multipart/form-data">
<label> Attachment : </label>
<input type="file" name="fcbs_attachment"> <!-- use "file" as type and "fcbs_attachment" as name -->
<input type="submit" value="Send">
</form>

Multiple file upload

<form action="https://api.formcubes.com/reg/v1/s/{Your Form ID}" method="POST" enctype="multipart/form-data">
<label> Attachment : </label>
<input type="file" name="fcbs_attachment" multiple>
<input type="submit" value="Send">
</form>

Quota

Currently Formcubes support file upload up to 2 files for each submission with maximum file size of 2 Mb for each files.

Privacy

Your files are stored in Amazon S3 with public permissions, that means anyone with links to your files are able to read your files. We try to give your file a link that are hard to guess to make it harder for unwanted people to access your files, but keep in mind that it's not impossible for unwanted people to access your files.

So make sure use file uploads feature to stores files containing non sensitive information only.

Expecting your feedback

We would really appreciate your feedback regarding file upload features. It would be great if you can share with us your needs, problem you trying to solve and what you expect from our service. Please don't hesitate to reach us here.