How to insert a MERGEFIELD after a condition is met in an "IF" field expression?

I'm trying to insert a MERGEFIELD of FIRST_NAME if the MERGEFIELD TITLE doesn't equal "Mr and Mrs."

I threw together the following statement under the "If" field but it doesn't seem to work:

IF {MERGEFIELD TITLE} = 'Mr and Mrs.' {MERGEFIELD TITLE} {MERGEFIELD FIRST_NAME}

It just ends up putting TITLE} into the Word document. What is the correct expression to do this?
EindoofusAsked:
Who is Participating?
 
GrahamSkanRetiredCommented:
Use double quotes to contain the fields

{ IF {MERGEFIELD TITLE} = "Mr and Mrs." "{MERGEFIELD TITLE} {MERGEFIELD FIRST_NAME}" }
0
 
EindoofusAuthor Commented:
Do I only hit CTRL+F9 once or four times to do that? Are the inner braces placed by doing CTRL+F9 as well, or are they manually typed?
0
 
EindoofusAuthor Commented:
For every set of curly braces you need to use CTRL+F9
0
 
GrahamSkanRetiredCommented:
Ctrl+F9 will put curly brackets around the current selection.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.