File Attachment Control

Learn about the file attachment control

Last published at: May 25th, 2024

Users can attach one or more file attachments to a given form by using the file attachment control within the form.  Let’s create a new form called “TestFormFile,” the form will look as follows: 

 

Drag the File Attachment Control from the toolbox and drag it to the form as shown below:

 

Now, the form can accept file attachments from the user while it is rendered.  To save the form, click the “Save” button on the menu.  

 

Let’s go to form instances and create a new form instance called “TestMainForm_INST” based on the form definition “TestMainForm.”

Once the form instance is created, select it from the table and click the “Edit” menu item.

 

The Form Instance should render as follows for editing: 

 

Using the “Choose File” control, select files from the local file system to attach to the form.  Fill in the rest of the form fields; the form should look as follows:

 

Click the “Submit” button to save the changes to the form.  If the attached file is large, then a file upload status bar will be displayed at the top of the form.  

After submitting the form, it is rendered for editing again. The file attachments are displayed at the bottom of the form.