Comment on page
File
Collects documents of any kind from the responder.
This question type is used in cases where the responder needs to upload documents, such as a
pdfs
of contracts, certificates, prescriptions, etc.If you would like to ask the responder take a picture of an ID card or themselves, you can use the image upload content type. If you would like the responder to sign a document, you can use the signature content type.
If you don't want the responder to be held up by a file upload question, make sure to have the question be optional.
In order to have the responder upload a file, you need to set up a S3 bucket or GCS bucket to specify where the file will be stored. For detailed instructions on setting up a file integration in Formsort, you can go to this page for s3 and this page for GCS.
You must define a naming pattern for the files that your responders upload by enabling Filename pattern.
You can type in the relevant variable you would like to be included in the name of the file into the field next to the button. For example, if you type in {{first_name}} into the field, a responder with first_name Sally will have their file name show up as Sally.
Note that the extensions will be added automatically. You can also set a fallback naming convention in case the variable is not defined by typing it into the Filename pattern fallback field.
You can whitelist MIME (Multipurpose Internet Mail Extension) types by adding them to the Allowed MIME types field. If one of the below are not specified, all of the MIME types on the list will be allowed:
Category | MIME types |
Images | image/jpeg image/gif image/vnd.microsoft.icon image/png image/jpeg image/jpeg image/jpeg image/jpeg image/svg+xml |
Video | image/mp4 |
Document | application/pdf |
You should whitelist MIME types, otherwise you may receive uploads of formats that you cannot process.
Enabling allow multiple uploads lets the respondent upload more than one file as an answer to a question.
Last modified 3mo ago