setInstances

Adds or removes specified subforms or subform sets from the form model.

Syntax

Reference_Syntax.setInstance( INTEGER param )

Parameters

param

A valid integer representing the desired number of instances of a particular subform or subform set in the form model.

Returns

Empty

Applies to

Version

XFA 2.1

Examples

JavaScript

Subform1.instanceManager.setInstances(5);

FormCalc

Subform1.instanceManager.setInstances(5)

// Ethnio survey code removed