match

Controls the role played by enclosing an object in a data-binding (merge) operation.

Syntax

Reference_Syntax.mark = "once | none | global | dataref"

Values

Type

Values

String

  • once (default)

  • none

  • global

  • dataRef

The node representing the enclosing object binds to a node in the Data model in accordance with the standard matching rules.

  • none

  • global

  • dataRef

The node representing the enclosing object is transient. It will not be bound to any node in the Data model.

  • global

  • dataRef

The containing field is global. If the normal matching rules fail to provide a match for it, the data-binding process looks outside the current record for data to bind to the field.

  • dataRef

The containing field binds to the node in the Data model specified by the accompanying ref property.

Applies to

Version

XFA 2.1

Examples

You should set the field global property before the merge.

JavaScript

TextField1.bind.match = "global";

FormCalc

TextField1.bind.match = "global"

// Ethnio survey code removed