TX Text Control .NET Server

Javascript: TXTextControl.MergeField.textAfter Property

Property|Introduced in 25.0

Description

Specifies the text of the field that is displayed after the field's text.

Syntax

<string> TXTextControl.MergeField.textAfter

Examples

The following example demonstrates TXTextControl.MergeField.textAfter in a practical document-editing workflow. It specifies the text of the field that is displayed after the field's text.

function inspectTextAfter(mergeField) {
    const textAfter = mergeField.textAfter;
    console.log("text after:", textAfter);
}