mergeMode

Controls which data merge algorithm is used for a given subform.

Fragments inherit the mergeMode setting that is specified by the root subform of the hosting document.

Designer sets the mergeMode property of the root subform to consumeData unless a model or schema that contains associations is used as the data connection for the form. In those cases, the mergeMode property is set to matchTemplate.

Syntax

Reference_Syntax.mergeMode = "consumeData | matchTemplate"

Values

Type

Values

String

  • consumeData (default)

  • Uses a data merge algorithm where a single data element can cause the creation of only a single subform.

  • matchTemplate

  • Uses a data merge algorithm that supports relational data models and allows a single data element to generate a single instance of multiple subforms. Disables the addInstance, removeInstance, and moveInstance functions of the instanceManager object.

Applies to

Model

Object

Form Model

subform

Version

XFA 3.1

// Ethnio survey code removed