DS Server

Javascript: TXTextControl.IfField.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 "IF".

Syntax

<string> TXTextControl.IfField.text

Examples

The following example demonstrates TXTextControl.IfField.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 "IF".

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