File Attachment Control

Last published at: June 21st, 2023

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 the form is rendered.  Click the “Save” button on the menu to save the form.  

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 the form instance from the table and click the “Edit” menu item.

Form instance should render as follows for editing: 

Using the “Choose File” control, select files from the local file system for attaching to the form.  Fill 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, the form is rendered for editing again. Notice that along the bottom of the form displays the file attachments for the form.