moveInstance

Moves a subform object within a set of subform instances.

The corresponding data model information for the subform is also relocated within the data model.

Syntax

Reference_Syntax.moveInstance( INTEGER param1, INTEGER param2 )

Parameters

param1

A valid integer representing the 0 based index position of the form model object to move.

param2

A valid integer representing the 0 based position of the child object within the set of instances.

Returns

Empty

Applies to

Version

XFA 2.1

Examples

JavaScript

Subform1.instanceManager.moveInstance(0,6);

FormCalc

Subform1.instanceManager.moveInstance(0,6)

// Ethnio survey code removed