logo
search
Office Settings & Configuration

How to Fix Word Displaying Zotero Citations and Page Fields as Code

Maira MehtabMaira Mehtab Sep 22, 2026 868 views

Question details

The user needs to restore normal text formatting in Microsoft Word after the application started displaying raw field codes for elements like Zotero citations and page numbers.

Toggle Field Codes command selected in Microsoft Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Viewing or editing a document that contains automated fields, citations, headers, or footers.
Observed behavior
Word displays complete Zotero citation fields and footer fields (such as PAGE) as visible code instead of their properly formatted results or numbers.
Before you start

Ensure your keyboard's Function (Fn) lock is in the correct state, as many laptop and compact keyboards require you to press the Fn key to activate the standard F9 function.

Solution 1Recommended

Toggle Field Codes Using the Keyboard Shortcut

Use the built-in keyboard shortcut to instantly switch between displaying raw field codes and their formatted field results.

Microsoft Word has a built-in toggle that allows users to view the backend code of automated fields. Accidental activation of this toggle is the most common reason for citations and page numbers appearing as code.

1
Open the Document

Launch Microsoft Word and open the document where your citations and page numbers are appearing as code.

2
Press Alt + F9

Press the 'Alt + F9' keys simultaneously on your keyboard. If you are using a laptop, you may need to press 'Fn + Alt + F9'.

3
Verify the Formatting

Check your Zotero citations and footer page numbers to confirm that the raw code has been successfully replaced by the normal text.

Quick Fix: This shortcut toggles the view setting globally for the entire document, hiding all field codes instantly without altering your actual data.
Manage Documents Easily with WPS Writer

How to Manage Field Codes Seamlessly in WPS Writer

WPS Office offers a robust and seamless experience for handling citations, page numbers, and automated field codes. You can easily toggle between field codes and results using familiar shortcuts or intuitive menu settings.

  1. 1. Open your Document in WPS: Launch WPS Writer and open your .docx file containing the citations or page number fields.
  2. 2. Toggle via Shortcut: Simply press 'Alt + F9' on your keyboard to instantly switch between displaying field codes and their actual formatted values.
  3. 3. Access View Options: Alternatively, navigate to 'Menu' > 'Options' > 'View', and uncheck the 'Field codes' option under the Formatting marks section to hide the raw codes permanently.
Fully compatible with Microsoft Word formats (.doc, .docx)Supports advanced field codes and third-party reference integrations like ZoteroFree, lightweight, and fast document processingFamiliar user interface ensuring a zero-learning-curve transition
microsoft office alternative - wps office

Frequently Asked Questions

Why did my Word document suddenly start showing field codes instead of text?

This usually happens if you accidentally trigger the 'Alt + F9' keyboard shortcut while typing. This shortcut activates Word's built-in feature to reveal the underlying code for automated elements like citations, hyperlinks, and page numbers.

Does leaving field codes visible affect how my document prints?

Yes. Depending on your print settings, if field codes are visible on your screen, they may also print as raw code instead of formatted text. Toggling them back to results using 'Alt + F9' ensures they print correctly.

How do I update a field code after modifying it?

If you need to manually update a field (such as a table of contents, formula, or cross-reference), click anywhere inside the field and press 'F9', or right-click the field and select 'Update Field' from the context menu.