TX Text Control .NET Documentation

The If field

This field can be used to add a text based on a specific condition. It compares two values and then inserts the text appropriate to the result of the given comparison. The first expression must be a MergeField name. On merging the document, the MergeField value will be compared to the second expression in order to insert the appropriate text value. The format of the field is:

{ IF Expression1 Operator Expression2 TrueText FalseText }

The following operators are supported:

  • Equal to
  • Not equal to
  • Greater than
  • Less than
  • Greater than or equal to
  • Less than or equal to