Javascript: TXTextControl.FieldType Enumeration
Description
Determines the possible MS Word specific merge field types supported by the TX Text Control JavaScript API.
Members
| Member | Description |
|---|---|
| MergeField | Specifies the MS Word specific MERGEFIELD field type. |
| IfField | Specifies the MS Word specific IF field type. |
| IncludeTextField | Specifies the MS Word specific INCLUDETEXT field type. |
| DateField | Specifies the MS Word specific DATEFIELD field type. |
| NextField | Specifies the MS Word specific NEXT field type. |
| NextIfField | Specifies the MS Word specific NEXTIF field type. |
Examples
The following example uses TXTextControl.FieldType.MergeField (specifies the MS Word specific MERGEFIELD field type.) in a document-editing workflow.
TXTextControl.showMergeFieldDialog(TXTextControl.FieldType.MergeField);