Form.body.appendChild

Method of Form.body

New in package 164.1

Syntax

Form.body.appendChild( control )

Parameters

Parameter Description
control A control to be appended to the form.

Description

Appends the control to the form. The control must not be already a part of the form. Appended control will be accessible through Form.getControlById function only if:

  • the XML used to create the control contained non-empty id node, or
  • the control was previously removed from the form, was part of the original form (was placed on form in Form Editor) and was accessible through Form.getControlById prior to removal.

Examples

The following example uses appendChild to place a dynamically created box on the form:

See Also

Form.body.removeChild, Form.createControlFromXML, Form.body.insertBefore, Form.body.insertAfter

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.