Field Codes Mergefield Field. Or right-click on the field and choose the Toggle Field Code option. FieldName Switches Displays the name of a data field within the chevron merge characters in a mail merge main document for example FirstName.
Replace everything in the field after HYPERLINK with your mergefield. To fix that. Choose All with Categories.
The MERGEFORMAT switch retains the formatting applied to the field.
Then select MergeField under Field names and type the field code behind the word MERGEFIELD in the text box. The reason your code is not working is because the field code of the If field also contains the merge field. Then a zip code merge field will look like this. MERGEFIELD FirstName f MERGEFIELD MiddleName f MERGEFIELD LastName If the MiddleName field data is missing null then there is only one space between FirstName and LastName.