Topic
The output of Conditional Text or IF Statements can vary in Header/Footer of a Word document. Even if the field has been updated the output still shows the field code in its entirety rather than just the text intended.
Example: { IF "<<Primary_Contact>>" "" "Primary_Contact""<<Institution>>"}
Output:
Example: { IF "<<Primary_Contact>>" "" "Primary_Contact""<<Institution>>"}
Output:
Instructions
To preserve the desired output you will need to do the following:
1. Edit Field Code - Check the box - Preserve formatting during updates and select ok.

2. Update field when back on the Word Document - The displayed text will now have MERGEFORMAT in the IF Statement.
{ IF "<<Primary_Contact>>" "" "Primary_Contact""<<Institution>>" * MERGEFORMAT}
3. Save and replace document in the Document Package
1. Edit Field Code - Check the box - Preserve formatting during updates and select ok.
2. Update field when back on the Word Document - The displayed text will now have MERGEFORMAT in the IF Statement.
{ IF "<<Primary_Contact>>" "" "Primary_Contact""<<Institution>>" * MERGEFORMAT}
3. Save and replace document in the Document Package
