TXTextControlWeb.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.

Syntax

[JavaScript]
<void> TXTextControlWeb.showMergeFieldDialog(<integer> fieldType);
Parameter Description
fieldType

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