TX Text Control .NET Server

Javascript: TXTextControl.IfField.trueText Property

Property|Introduced in 25.0

Description

Specifies the text that should be displayed when the comparison is true.

Syntax

<string> TXTextControl.IfField.trueText

Examples

The following example demonstrates TXTextControl.IfField.trueText in a practical document-editing workflow. It specifies the text that should be displayed when the comparison is true.

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