DS Server

Javascript: TXTextControl.IncludeTextField.text Property

Property|Introduced in 25.0

Description

Specifies the initial text of the field. Let this property be null to use the default text "INCLUDETEXT".

Syntax

<string> TXTextControl.IncludeTextField.text

Examples

The following example demonstrates TXTextControl.IncludeTextField.text in a practical document-editing workflow. It specifies the initial text of the field. Let this property be null to use the default text "INCLUDETEXT".

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