addAttachmentOrNull
Adds a new attachment to this AttachmentsFormElement.
Return
The new FormAttachment, or null if an error occurred.
Since
200.5.0
Parameters
name
the name of the attachment
contentType
the mime type of the attachment
data
the attachment data