XFA Specification
Chapter 8, Dynamic Forms
Data Binding for Dynamic Forms
270
Given a data document with a single data value named
empName
, the resulting Form DOM is shown in the
following figure.
Form DOM
jointFiling
Data DOM
jointFiling
spouse[0]
employer[0]
empName
“AnyCo”
employer[1]
empName
“”
employer[2]
empName
“”
spouse[1]
empName[0]
“AnyCo”
employer[0]
empName
“”
employer[1]
empName
“”
employer[2]
empName
“”
Effect of the min properties of nested subforms
When the
min
attribute is not supplied this property defaults to 1. Note that the root (outermost) subform
of a template must have this property defaulted or explicitly set to 1.
This property is ignored during an empty merge. It is also ignored when the object to which it applies is
the child of a subform set and the subform set enforces a
choice
between children.
Blank Form
When a dynamic subforms or subform sets is merged with data, the data determines (at least partly) the
number of times the subform or subform set is copied into the Form DOM. But what is to be done when
there is no data, that is during an empty merge? A separate attribute (
initial
) is defined which controls
Home Index Bookmark Pages
Pages: Home Index All Pages