Difference between revisions of "File Type Restriction"

From SmartWiki
Jump to: navigation, search
(Created page with 'On Single File and Multiple File Upload fields, you can specify the types of documents …')
 
Line 22: Line 22:
 
* [[Custom Field Type: Link – Single File]]  
 
* [[Custom Field Type: Link – Single File]]  
 
* [[Custom Field Type: Link – Multiple Files]]
 
* [[Custom Field Type: Link – Multiple Files]]
 +
 +
[[Category:Custom Fields]]

Revision as of 08:36, 7 October 2013

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.

FileTypeRestriction.png

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:

FileTypeRestricted.png

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:

MultiFileTypeRestricted.png

To remove the document with the incorrect extension, click on the red "X" button (Redx.png).

See Also