Sub Form is integral in completing a typical process flow. It enables one to show another form within a form, and it has no limit on the depth that it can show.
Figure 1: Screenshot highlighting Subform in sample HR Expenses Claim app
Screenshots taken from http://localhost:8080/jw/web/console/app/hr_expense/1/form/builder/hr_expense_claim#
Figure 2: Subform Properties
Since the subform is not an input field, one may leave it as it is.
|Form||Form to be loaded as Subform.|
Figure 3: Subform Properties - UI
Determines if the element is editable.
|Display field as Label when readonly?|
Displays the value of the element as plain text when element is set to "Readonly".
|Display without frame?||Decorator option. Removes default styling applied to SubForm when checked.|
Figure 4: Subform Properties - Data & Binder
|Parent Field to keep Subform ID|
ID of the field in the parent form to store the Sub Form table's primary key. Sub Form data will be loaded based on the record ID retrieved from this field.
|Subform Field to keep Parent ID|
ID of the field in the Sub Form form to store the parent table's primary key.
|Load Binder||By default, Workflow Form Binder plugin is used for loading and storage of form data in the subform, you may override it with other plugins.|
|Store Binder||By default, Workflow Form Binder plugin is used for loading and storage of form data in the subform, you may override it with other plugins.|