Defines that any supported file can be attached.

Referenced by: formAttachmentElement

Properties

PropertyDetails
attachmentAssociationTypeIndicates if existing attachments should be associated with this element. any will associate all existing attachments to this form element; this can be the only formAttachmentElement within the form. exactOrNone will associate any attachments with the associated keyword and any attachments with no keyword defined; only one form element can have this value defined. exact will associate only attachments that include the specific keyword.
Valid values:
  • any
  • exact
  • exactOrNone
inputTypes[]Available inputs to add an attachment.
Array of items of the following types:
typeThe input type identifier.
Valid value of this property attachment

Example

{
"inputTypes": [
{
"type": "image",
"inputMethod": "any"
},
{
"type": "video",
"inputMethod": "any"
}
],
"type": "attachment"
}