max

Specifies the maximum number of occurrences for the enclosing container, or -1 to set no upper boundary for occurrences.

The max property defaults to the value of the min property. In the absence of a min property, the default is 1 .

Syntax

Reference_Syntax.max = "1 | -1 | integer"

Values

Type

Values

String

  • 1 (default)

  • -1

  • Any valid integer.

No upper boundary limit.

  • Any valid integer.

Version

XFA 2.1

Examples

JavaScript

Subform1.occur.max = "3";

FormCalc

Subform1.occur.max = "3"

// Ethnio survey code removed