Javascript: TXTextControl.showMergeFieldDialog Method

Opens a field dialog either for changing properties of an existing merge field or for creating a new merge field. If the fieldType parameter is omitted, the field dialog for the merge field at the current input position is shown (if there is one). Setting the fieldType parameter to a valid value creates a new field or replaces the field at the current position.

Introduced: 25.0.


<void> TXTextControl.showMergeFieldDialog(<integer> fieldType);
Parameter Description

Optional. The field dialog type to show. Possible values are defined in TXTextControl.FieldType.

See Also