The File Upload field allows the users to upload a file along with the Form on your website.
In this article, you will find details about the configuration options you have for the File Upload field.
You can choose to specify which files you want to allow the user to upload, when accessing the Form.
To allow only specific files:
Select the specific File Types the user should be able to upload.
Click Submit.
We recommend selecting only specified files, to limit malicious code to be uploaded, whenever the user is submitting the Form.
If the list of predefined file types does not include a specific file type, you can add additional ones.
To add new file type:
Type a file extension name in the User defined allowed file types field.
Click +.
Click Submit.
The file upload field type will verify the file contents using the registered set of IFileStreamSecurityValidator
instances.
To read more about this feature, see Server-side file validation in the CMS documentation.