TX Text Control .NET Server

Javascript: TXTextControl.IfField.expression2 Property

Property|Introduced in 25.0

Description

Specifies the second expression text that should be compared to Expression1.

Syntax

<string> TXTextControl.IfField.expression2

Examples

The following example demonstrates TXTextControl.IfField.expression2 in a practical document-editing workflow. It specifies the second expression text that should be compared to Expression1.

function inspectExpression2(ifField) {
    const expression2 = ifField.expression2;
    console.log("expression2:", expression2);
}