Attachment
Description
Allows users to specify an attachment to upload, or to select a previously-uploaded attachment.
This is useful for workflows which require users to attach files such as scanned documents, receipts, photos, Word files, PDF files, etc.
Field settings (parameters)
Name | Required | Default Value | Description |
---|---|---|---|
Field name | Yes | (auto-generated) | A descriptive name for this field. A random name is generated by default. |
Helper Text | Optional | Gives context or additional information about a field input. It will appear at the bottom of the field. The helper text will only appear when you edit the content, not when viewing it. | |
Required | Optional | Unchecked | If checked, the user must select an attachment (mandatory) and this field cannot be empty. |
Include | Optional | Only include file names which match the specified regular expression. Note: ".*" is a Java Regular Expression for "any character of zero or more time occurrence". | |
Exclude | Optional | Exclude any file names which match the specified regular expression. Note: ".*" is a Java Regular Expression for "any character of zero or more time occurrence". |
Macro/Field edit view
Notes
If you enable the Required option, you will not be able to Publish Content in editor mode until you have selected an attachment or added one. An example error message is shown below. Alternatively, you can click Cancel to discard the changes.