1. Select Tools, Options from the menu bar
2. Select the View tab
3. Mark the Field Codes checkbox

We can do one of the following to quickly access our field codes.

To show or hide the for a specific field, click the field or the field results and then, press SHIFT+F9.

To show or hide field codes for all fields in the document, press ALT+F9.