DS Server

Javascript: TXTextControl.MergeField.name Property

Property|Introduced in 25.0

Description

Specifies the name of the field.

Syntax

<string> TXTextControl.MergeField.name

Examples

The following example demonstrates TXTextControl.MergeField.name in a practical document-editing workflow. It specifies the name of the field.

function inspectName(mergeField) {
    const name = mergeField.name;
    console.log("name:", name);
}