Attachment
An Attachment widget allows Users to save documents to their records or display pictures on their form. Attachments can be uploaded from a computer or linked from an online site by specifying a URL.
Adding an Attachment Widget to the Form
- In the Form Editor, drag the
from the Form Widgets palette. A new Image widget is added in the canvas.
- Enter a Label for the attachment widget. Notice that the Data Field associated with the widget in the Data section of the Form Editor is now populated with the label name but without spaces.
The Data Field should not contain any spaces and should be a unique name within the Collection. - From the Properties section of the Form Editor you can customize the data properties of the widget. For the attachment widget, the Display this field in the default Collection View checkbox will allow users to see if a record has an attachment by adding this field as a column to the collection's view without having to use the View Editor. The name of the attachment will be displayed.
- Authors can also change the display properties of the widget by clicking on the Widget tab in the Properties section of the Form Editor.

- From the Show Image drop down menu, select True if you want to display image.
- The Stretch drop down menu allows you to determine the directions an image will be stretched to fit the area designated for the widget's image.
- If you selected True from the Show Image menu you can change the width and height of your Attachment Widget. Only pictures that are jpg, gif or png can be displayed using the attachment widget.
- Conditional Styling for the widget can be specified by clicking on the icon next to Condition Style.
- In the Form Editor, click Save to save your changes. Refer to the section on Version Management for more information.
- Click Exit to close the Form Editor and to return to the Collection page.