Skip to main content
Nintex Community Menu Bar

Drawloop - Conditional Text in Header/Footer

  • February 15, 2022
  • 0 replies
  • 132 views

KB_Admin
Nintex Employee
Forum|alt.badge.img+8

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: User-added image

 

 

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.
User-added image
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