When using form.taxi with a PRO account, you can upload files in your forms.
Restrictions on file uploads:
- max. 5 files per submission
- max. 10 MB file size per upload file
- 2 GB storage per user account
- only when used with a PRO account
Integration in forms
To make your form ready for data transfer with file uploads, these attributes must be added in the HTML code at the form-tag:
To allow only files up to the possible file size of 10 MB to be selected for upload, add this hidden field in the HTML code. Note that this field must be in the code before all file fields!
<input type="hidden" name="MAX_FILE_SIZE" value="10485760">
Example form with file fields
The following example HTML code contains 2 upload fields. One for uploading any image file and one for uploading a Word document.
<form action="https://form.taxi/s/FORM_CODE" enctype="multipart/form-data" accept-charset="UTF-8" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="10485760"> <input type="file" name="Your picture" accept="image/*"> <input type="file" name="Your document" accept=".doc,.docx"> <input type="submit" value="Send"> </form>
As an alternative to multiple upload fields, you can add the
multiple attribute to one field to enable the transfer of multiple files. The name of the upload field must end with . Please note that a maximum of 5 files per submission will always be accepted!
<input type="file" name="Files" multiple>