clone

Makes a copy of an object.

Syntax

Reference_Syntax.clone( BOOLEAN param )

Parameters

param

A Boolean value indicating if cloning should occur recursively.

  • true | 1 (JavaScript) or 1 (FormCalc) (Default)

  • Clone the object recursively.

  • false | 0 (JavaScript) or 0 (FormCalc)

  • Do not clone the object recursively.

Returns

The duplicate copy of the object.

Applies to

node class class

Version

XFA 2.1

Examples

JavaScript

xfa.record.NewGroupNode.clone(1);

FormCalc

xfa.record.NewGroupNode.clone(1)

// Ethnio survey code removed