Create an IF Field
This task guides you through creating an IF field that displays "FREE" when the InvoiceItem.ExtendedPrice is zero.
This example shows you how to construct the following IF field:
{ IF {MERGEFIELD
InvoiceItem.ExtendedPrice \* MERGEFORMAT} = 0 "FREE" "" \*
MERGEFORMAT
}
The IF field displays the text "FREE" if the value of InvoiceItem.ExtendedPrice equals 0. Otherwise, the IF field displays nothing.
To construct this IF field: