Javascript: TXTextControl.MergeField.textBefore Property
Description
Specifies the text of the field that is displayed before the field's text.
Syntax
<string> TXTextControl.MergeField.textBeforeExamples
The following example demonstrates TXTextControl.MergeField.textBefore in a practical document-editing workflow. It specifies the text of the field that is displayed before the field's text.
function inspectTextBefore(mergeField) {
const textBefore = mergeField.textBefore;
console.log("text before:", textBefore);
}