Difference between revisions of "File Type Restriction"
Nancy Sabo (talk | contribs) |
|||
Line 1: | Line 1: | ||
− | On [[Custom Field Type: | + | On [[Custom Field Type: Upload - Single File Storage|Single File]] and [[Custom Field Type: Upload - Multiple Files Storage|Multiple File Upload]] fields, you can specify the types of documents that can be uploaded. |
− | To configure this feature, edit the custom field, and enter the extension(s) matching the file type(s) you wish to constrain the field to be able to upload into the File Type Restriction setting, and save your changes. | + | To configure this feature, edit the custom field, and enter the extension(s) matching the file type(s) you wish to constrain the field to be able to upload into the File Type Restriction setting, and save your changes. |
[[Image:FileTypeRestriction.png|link=]] | [[Image:FileTypeRestriction.png|link=]] | ||
− | * [[Custom Field Type: | + | * [[Custom Field Type: Upload - Single File Storage|Single File]] and [[Custom Field Type: Upload - Multiple Files Storage|Multiple File Upload]] fields can accept multiple file types. The extensions should be entered in lower case separated by commas |
Example: "pdf,doc,xls" | Example: "pdf,doc,xls" | ||
Line 20: | Line 20: | ||
==See Also== | ==See Also== | ||
− | * [[Custom Field Type: | + | * [[Custom Field Type: Upload - Single File Storage]] |
− | * [[Custom Field Type: | + | * [[Custom Field Type: Upload - Multiple Files Storage]] |
* [[File Name Restriction]] | * [[File Name Restriction]] | ||
[[Category:Custom Fields]][[Category:Files]] | [[Category:Custom Fields]][[Category:Files]] |
Latest revision as of 11:10, 24 August 2018
On Single File and Multiple File Upload fields, you can specify the types of documents that can be uploaded.
To configure this feature, edit the custom field, and enter the extension(s) matching the file type(s) you wish to constrain the field to be able to upload into the File Type Restriction setting, and save your changes.
- Single File and Multiple File Upload fields can accept multiple file types. The extensions should be entered in lower case separated by commas
Example: "pdf,doc,xls"
If a Single File Upload field has a File Type Restriction of "pdf", and a user tries to upload a document with a different extension, they will receive the following message:
If a Multiple File Upload file has a File Type Restriction of "pdf", and a user tries to upload documents with different extensions, they will receive the following message:
To remove the document with the incorrect extension, click on the red "X" button ().