To add a field where users can link data files or images, choose File Attachment from the Field type dropdown.
The following field options are supported for file attachment fields:
- Required field - makes data entry required before storing a sample
- Validate input - set criteria for input when entering data in a field
- Note field - field information for end user displayed in a tooltip balloon
After saving the field, an Attach File button links file attachments to a sample.
Note: users can attach multiple files to the same file attachment field
Input Validation
Users can use the Validate input option to validate the file type before uploading the file. Users can limit attachments, such as PDF files, image files, and Microsoft Office documents, or set a custom file type to validate by entering the file's extension as a text value (Ex. .txt).
Note: the custom file validation setting can support multiple files by separating the values with a comma (Ex. .txt, .png, .js)
Images
To display a thumbnail of an uploaded image on the sample information sheet, mark the checkbox, Display if contains images (jpg, gif and png) or plasmid files (gb).