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.
-
Sign in as an administrator.
-
Click .
-
Select the user type for which you want to add the Attachment form
element.
-
Click Screens and select a custom form or a standard
page (for example, Activity Details).
-
From the New element section, drag the Attachment
property to the required section.
-
Expand the Name translations section and add a name for
the new field in English and other required languages.
-
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.
-
Expand the Validation error message section and add a
message that you want to display when the required number of images aren't
uploaded.
-
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.