NextIfField Object
Description
Represents an MS Word specific NEXTIF field. Is used as a parameter for the addMergeField method.
Syntax
TXTextControl.NextIfFieldExamples
The following example demonstrates TXTextControl.NextIfField in a practical document-editing workflow. It represents an MS Word specific NEXTIF field. Is used as a parameter for the addMergeField method.
function inspectNextIfField(nextIfField) {
console.log("TXTextControl.NextIfField object:", nextIfField);
}Members
Properties
| Property | Description |
|---|---|
| expression1 | Specifies the first expression text that should be compared. This property must be a valid field name. |
| expression2 | Specifies the second expression text that should be compared to Expression1. |
| operator | Specifies the comparison operator. Possible values are defined in TXTextControl.RelationalOperator. |
| preserveFormatting | Specifies whether the field's formatting should be preserved. |
| text | Specifies the initial text of the field. Let this property be null to use the default text "NEXTIF". |