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:
All types of images
Only allow PDF files
Allow excel files
All video types
Csv files and pdf files