Occasionally while preparing a mail merge document, you may hope to insert text based upon whether a value has been added in one of a number of fields. The below instance tests for whether Field1 contains "A", or Field2 contains "B", or Field3 contains "C". If any or all of those fields gather the state, "True" is stated in the merge document. If not, "False" is entered. In a genuine merge state True or False can be restored by anything you wish.
Code:
{ if{ =({ Mergefield field1 } = “A” 10} + { if { Mergefield field2 } = “B” 10} + { if{ Mergefield field3} = “C” 10}) } > =1 “True” “False”}
Bookmarks