Form definitions can be embedded within other Forms using the sub-form control in the Form designer toolbox.
Create a form “ScoreMain” like the one below, including a table, labels, text boxes, a text area, a date picker, and a submit button.

Create a subForm called “ScoreSubform,” like the one below, with a table, labels, and text boxes.

Embedding a Form as a Sub-Form
Navigate to the “ScoreMain” form definition and drag-and-drop a subForm control to the form designer canvas.

Double-click the subform control to open the configuration window. Provide a name for the subform (optional). Select the Form definition from the drop-down list to configure it as a subform. Click the checkbox to show the subform in a grid view. Click the checkbox to treat the subform's first row as column headers. Click the checkbox to hide the subform when the parent form is rendered. Click the checkbox to hide the subform border when the form is rendered. Click the Save button. You may click the navigation icon to modify the subform on a new page. Note: Subform changes are rendered in the main form after saving.

There are two ways to create a Form Instance using the UI. Navigate to the Actions > Create Form Instance menu option on the Form designer page. A pop-up is displayed for configuration. Click the “Generate” button to set the next instance name in sequence. Select the checkbox to edit the form instance after it is created. Click the “Create” button to initiate.

The other approach is to navigate to the Form > Instance page and select Actions > Create. A configuration pop-up is displayed. Click the Generate button to set the next instance name in sequence. Click the “Create” button to initiate.

Select the instance from the list on the Form Instance page and click on the Actions > Edit menu option. The Form Instance is rendered as shown below.

The subForm, configured as a grid view, displays a plus sign icon (+) to add rows and an X sign icon (x) to remove rows. Provide the information and click the Submit button to complete the Form.
