XFA Specification
Chapter 8, Dynamic Forms
Data Binding for Dynamic Forms
268
Given a flat data document with eight
empName
elements, the resulting Form and Data DOMs, before
renormalization, are shown in the following figure. Data values after the first six are left unbound because
there are no unbound
empName
fields left for them to bind with.
Form DOM
jointFiling
Data DOM
jointFiling
spouse[0]
empName[0]
“FraudCo”
employer[0]
empName
“FraudCo”
employer[1]
empName
“Scrooge PLC”
employer[2]
empName
“Smash! Shipping”
spouse[1]
empName[2]
“Smash! Shipping”
empName[3]
“FlyByNightCo”
empName[4]
“Scams Unlimited”
empName[5]
“Incompetent Inc.”
empName[6]
“Shaky Bank”
empName[7]
“Bozo Labs”
empName
“Incompetent Inc.”
empName[1]
“Scrooge PLC”
employer[0]
empName
“FlyByNightCo”
employer[1]
empName
“Scams Unlimited”
employer[2]
Effect of the max properties of nested subforms
When the
max
attribute is not supplied this property defaults to the value of the
min
property. 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.
The min property
The min property determines the starting number of copies of the subform or subform set that are
included in the Form DOM as siblings during a non-empty merge. This number of siblings is created
whenever the subform or subform set is used as a prototype for a node in a new location in the Form DOM,
Home Index Bookmark Pages
Pages: Home Index All Pages