initial

Specifies the initial number of occurrences for a subform or a subform set. This property should be used only for printed and static forms.

Syntax

Reference_Syntax.initial = "1 | string"

Values

Type

Values

String

  • 1 (default)

  • A valid string representing any valid integer.

Applies to

Model

Object

Form Model

occur

Version

XFA 2.1

Examples

Modifying the occur object on the form:ready event is too late in the form life cycle. It needs to be modified on the template:ready event. However, the template:ready event is not accessible in the user interface.

JavaScript

Subform1.occur.initial = "3";

FormCalc

Subform1.occur.initial = "3"

// Ethnio survey code removed