1. Associated Form
1.1 What Is an Associated Form
The associated form component links data from other forms and populates that data into components in the current form. It also supports filtering when retrieving data from the associated form. Associated form component Note: In the latest version, the associated form supports forms across apps.1.2 Use Cases
- View data from another form in the current form and open it with a single click.
2. Association Attributes
2.1 Associated Form and Displayed Content
- Link to other regular forms and workflow forms.
2.1.1 Displayed Information of the Associated Form (Primary and Secondary Information)
Primary and secondary information are used to display and search data in the dropdown list of the associated form component. Set primary and secondary information- Primary information can be used for search when data is submitted. Only text input components are currently supported (including serial numbers). Secondary information can be any form component.
- Display settings are required when data is submitted. If the serial number feature is enabled, primary information shows the serial number by default. Change it as needed.
2.1.2 Multiselect Mode
The associated form supports both single-select and multiselect modes. Single-select is the default (multiselect mode is off). Multiselect mode Note: Data filling is supported in single-select mode only. It is not supported in multiselect mode.2.1.3 Data Filling
- In addition to selecting data from another form, data filling copies fields from the selected associated record into fields of the current form.
- When setting filling conditions, define multiple conditions for the same field in the dialog box that appears.
- Due to differences in data structures, field mapping restrictions apply, as shown in the following table:
2.1.4 Allow Creating Records in the Associated Form
The associated form component allows record creation by default, which means a Create button appears in the selection dropdown and on the management page. Create a record in the associated form- Workflow forms do not support record creation.
2.1.5 Data Filtering
Data filtering predefines filter conditions to limit the range of data visible during data submission. Data filtering ① Set filter conditions- Two types are available: value and field.
- Associated data that is already selected is not affected by condition changes, and it is not cleared when the conditions are no longer met.
- Each field supports only one set of filter conditions. Some components, such as date range, support separate range conditions.
| Component name | Component identifier |
| Subform | TableField |
| Rich Text | EditorField |
| Associated form | AssociationFormField |
| Other fields excluded from search in the page settings | |
3. Submitting Associated Form Data and Viewing Details
Keep the following in mind when you submit a page that contains the associated form component after filling it in according to the configured data filtering and filling conditions:- If the associated page is a form page, all submitted data is available for selection.
- If the associated page is a workflow page, submitted data is available for selection only after the approval is complete.
- On the details page, click the associated form field to open the details page of the associated instance.
- On the mobile details page, an arrow icon to the right of the associated form component indicates that the record can be opened.
4. Data Format
6. FAQ
Q: What is the difference between an associated form and associating data from other forms?
Q: What is the difference between an associated form and associating data from other forms?
Q: Why can't an associated form reference components in a subform?
Q: Why can't an associated form reference components in a subform?
Q: Can I select an associated form component for data linkage?
Q: Can I select an associated form component for data linkage?
Q: How do I assign a value to an associated form component with JS?
Q: How do I assign a value to an associated form component with JS?
Q: My associated form has more than 20 records but only 20 are displayed. How do I access the rest?
Q: My associated form has more than 20 records but only 20 are displayed. How do I access the rest?
Q: Does the associated form support batch import?
Q: Does the associated form support batch import?
Q: Does the associated form support deduplication settings?
Q: Does the associated form support deduplication settings?
Q: What if the error 'Data does not meet the filter conditions' appears?
Q: What if the error 'Data does not meet the filter conditions' appears?
Q: Why is the selected field of the associated form displayed as an instance ID?
Q: Why is the selected field of the associated form displayed as an instance ID?
Q: Why does EQ(associated form component, 'aaa') return an error?
Q: Why does EQ(associated form component, 'aaa') return an error?
Dropdown Select or Dropdown Multiselect component instead.