Word "mail merge" DOCTYPE

Solution 1:

After inserting《Myname》Merge Field, select it and press Alt+F9, and then press Ctrl+F9 to add {} for {MERGEFIELD Myname}, as shown below.
Please note that the {} symbol must be added by pressing Ctrl+ F9.

enter image description here

Then select all Merge Fields and press Alt+F9, then F9 to preview results.
You could also refer to the method in Field codes: IF field.

On some computers anytime you use a function key you need to also press the Fn key.