setElement Sets a specified object to be the current object. Syntax Reference_Syntax.setElement( OBJECT param1 [, STRING param2 ] ) Parameters param1 An object representing the new object. param2 (Optional) A valid string representing the name of the object to replace. Returns Empty Applies to node class Version XFA 2.1