File upload question type | LimeSurvey

File upload

About File upload

File upload lets participants send you files with their response: a CV, a photo, a scanned form. Participants click Upload file, select the file and save it. You decide how many files they may upload, which file types and how large.

The Upload file dialog participants see, with three areas numbered 1 to 3, Select file, the allowed file types and size, and Save changes

In the picture: 1 Select file opens the file selection of the participant's device, 2 the allowed file types and the maximum size, 3 Save changes adds the file to the answer. Above the button, the question shows how many files are allowed, for example Please upload at most one file.

Add a File upload question

  1. Click the purple + in the top bar. The question type picker opens.

  2. Under Dates & data, click File upload. The question appears at the end of the current question group.

  3. Click Your question here and type your question.

  4. On the Simple tab of the question settings, set the limits described below.

Settings that matter

All four are on the Simple tab of the question settings.

  • Minimum number of files and Maximum number of files: how many files participants must and may upload.
  • Allowed file types: the file extensions participants can upload, separated by commas, for example pdf, doc, docx. Keep the list short: only what you need.
  • Maximum file size (kB): the largest file allowed, in kilobytes. 10240 kB is 10 MB.

How the answers are stored

The files are stored with the response, together with the number of uploaded files, Q018_filecount for a question with the code Q018. To get the files, open Results > Responses list and use Download all response files in the menu of a response, or select several responses and click Download files. See View, filter and edit responses.

Note: Uploaded files count toward the storage of your plan. The top bar shows how much is used.

Next steps

FAQ

A participant cannot upload a file. What is wrong?

Check the file type and the size. The dialog shows which types and which size are allowed. A file with another extension or a larger size is refused.

Can I delete uploaded files but keep the answers?

Yes. In the responses list, use Delete all response files in the menu of a response, or select several responses and click Delete attachments.