Printed from: SurveyCTO Product Documentation
Source URL: https://docs.surveycto.com/02-designing-forms/01-core-concepts/03o2.field-types-file.html
Last updated: 2024-03-27
Source URL: https://docs.surveycto.com/02-designing-forms/01-core-concepts/03o2.field-types-file.html
Last updated: 2024-03-27
Field type: file
In the form designer, click + Add visible field, then choose file as the field type.
file: prompts the user to attach a file. By default, users can attach only these file types: text, image, video, audio, PDF, ZIP, or MS Office files (Excel or Word). Alternatively, you can specify your own comma-separated list of MIME types for those types of files that you would like to accept; for example, this list includes the MIME types for MS Word and Excel files: "application/vnd.ms-excel, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet".
In the spreadsheet form definition:
type | name | label | mediatype |
file | fieldname | question text | |
file | fieldname | question text | application/vnd.ms-excel, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |