DS Server

Javascript: TXTextControl.addTextField Method

MethodDeprecated|Introduced in 25.0

Description

Obsolete. This method will be removed in one of the next versions. Inserts a new ApplicationField or TextField at the current input position.

Syntax

<void> TXTextControl.addTextField(<TextField> textField)

Parameters

ParameterDescription
textField

The text field. Allowed types are TextField and ApplicationField.

Examples

The following example demonstrates TXTextControl.addTextField in a practical document-editing workflow. Obsolete. This method will be removed in one of the next versions. Inserts a new ApplicationField or TextField at the current input position.

function addTextField(textField) {
    TXTextControl.addTextField(textField);
}