instanceManager

The instanceManager object manages the instance creation, removal, and movement of form model objects.

Hierarchy of objects

Model

Child objects

Form Model

occur

Parent class

node class class

Properties

Name

Description

Type

Access

count

Specifies the current number of subform instances on a form.

String

Read /Write

max

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

String

Read

min

Specifies the minimum number of occurrences for the enclosing container.

String

Read

Methods

Name

Description

Returns

addInstance

Adds a new instance of a subform or subform set to the form model.

Object

insertInstance

Inserts a new instance of a subform or subform set into a form.

Object

moveInstance

Moves a subform object within a set of subform instances.

Empty

removeInstance

Removes a specified subform or subform set from the form model.

Empty

setInstances

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

Empty

// Ethnio survey code removed