Inserts a merge field at the current input position.

Introduced: X15.

<void> TXTextControl.addMergeField(<MergeField> mergeField)

Parameters

Parameter Description
mergeField The merge field. Allowed types are MergeField, IfField, IncludeTextField, DateField, NextField and NextIfField.

Further Reading

Learn more about the Javascript: TXTextControl.addMergeField Method in the Text Control Blog: