DS Server

Javascript: TXTextControl.TextField.text Property

PropertyDeprecated|Introduced in 25.0

Description

Obsolete. This property will be removed in one of the next versions. The Text field's text.

Syntax

<string> TXTextControl.TextField.text

Examples

The following example demonstrates TXTextControl.TextField.text in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. The Text field's text.

function inspectText(textField) {
    const text = textField.text;
    console.log("text:", text);
}