Javascript: TXTextControl.MergeField.text Property
Description
Specifies the text of the field.
Syntax
<string> TXTextControl.MergeField.textExamples
The following example demonstrates TXTextControl.MergeField.text in a practical document-editing workflow. It specifies the text of the field.
function inspectText(mergeField) {
const text = mergeField.text;
console.log("text:", text);
}