scope

Controls participation of the subform in data binding and reference syntax expressions. It is valid only on the root subform.

By default, a named subform takes part in data binding and can be referenced using a reference syntax expression. This property allows a subform to be given a name but remain transparent to data binding and reference syntax expressions.

Syntax

Reference_Syntax.scope = "name | none"

Values

Type

Values

String

  • name (default)

  • none

If the subform has a name it takes part in data binding and reference syntax expressions. Otherwise it does not.

  • none

The subform does not take part in data binding and reference syntax expressions, even if it has a name.

Applies to

Version

XFA 2.1

Examples

JavaScript

Subform1.scope = "none";

FormCalc

Subform1.scope = "none"

// Ethnio survey code removed