All Collections
FAQs
Building πŸ‘·β€β™‚οΈ
How to restrict file types uploaded?
How to restrict file types uploaded?

Only want specific file types uploaded in your form? we got you covered

Updated over a week ago

The file component allows responders to upload and annotate files as part of a form submission. Team Forms will automatically upload these files to your Team SharePoint site in the same folder as the raw data and generated pdf!

In some circumstances, you may want to restrict the types of files that users can upload. This can easily be done by configuring the File Pattern setting on the file component and also setting the Display as Image(s) setting to false. This is shown in the image below:

The table below provides some common examples of file patterns:

File Patterns

Output

images/*

All types of images

.pdf

Only allow PDF files

.xlsx, .xls

Allow excel files

video/*

All video types

text/csv

Csv Files

.csv, .pdf

Csv files and pdf files

Did this answer your question?