Add the Attachment Form Element to Required Pages and Forms

After creating the Attachment property, you must add it to the required pages using a special type of Form element, namely Attachment element. This form element doesn’t work without a property, so you must create the Attachment property before starting this procedure.

  1. Sign in as an administrator.
  2. Click Configuration > User Types.
  3. Select the user type for which you want to add the Attachment form element.
  4. Click Screens and select a custom form or a standard page (for example, Activity Details).
  5. From the New element section, drag the Attachment property to the required section.
  6. Expand the Name translations section and add a name for the new field in English and other required languages.
  7. Expand the Validation value and validation section and set the validation rules for users to upload the photo.
    You can use the slider to define the minimum and maximum number of images that must be uploaded. The maximum range you can select is 1 to 20 and the default is 1 to 5 images.
  8. Expand the Validation error message section and add a message that you want to display when the required number of images aren't uploaded.
  9. Click Publish.
    The Attachment form element is added to the selected custom form or standard page. If you export the custom form or user types, the attachments and their validation of minimum and maximum images are also exported.