Document Editing Problems

How to Recover Word Text Trapped Inside a FORMTEXT Field

Kushani NimanthikaKushani Nimanthika Oct 26, 2026 868 views

Question details

The user needs to extract and recover text that has been accidentally embedded inside a FORMTEXT field without losing the content.

How to Recover Word Text Trapped Inside a FORMTEXT Field
Product
Word Processing Software
Device & OS
not provided
Scenario
Document text has become trapped inside a form field, making selection and editing difficult. The user wants to remove the field but keep the text.
Observed behavior
The content is difficult to select, copy, or edit. Deleting the field directly also deletes the enclosed document text.
Before you start

Create a backup copy of your document before modifying field codes or running macros to prevent accidental data loss during the extraction process.

Solution 1Recommended

Manually Extract Text Using Field Codes

Use this method to reveal the hidden field codes and safely move the trapped text out of the FORMTEXT field.

By toggling the field codes view, you can see exactly where the field begins and ends, allowing you to select only your text and not the field itself.

1
Reveal Field Codes

Open your document and press Alt+F9 on your keyboard. This will display all field codes, changing the view of the trapped text to look something like { FORMTEXT Your trapped text here }.

2
Select the Trapped Text

Carefully click and drag to highlight only the text located between the 'FORMTEXT' code and the closing brace '}'. Do not include the curly braces {} in your selection.

3
Cut and Paste the Content

Press Ctrl+X to cut the selected text. Move your cursor to a normal section of the document outside the field and press Ctrl+V to paste it safely.

4
Delete the Empty Field

Now that your text is safe, select the remaining empty { FORMTEXT } field and press the Delete or Backspace key to remove it entirely. Press Alt+F9 again to return to the normal document view.

Manually Extract Text Using Field Codes
Formatting Preserved: This manual method ensures that your text is safely extracted without affecting the rest of the document's layout.
Efficient Word Processing

Fix and Edit Form Fields Easily with WPS Writer

WPS Office offers robust document editing tools, seamlessly supporting field code manipulation and macros to help you rescue trapped text and format complex documents effortlessly.

  1. 1. Download and Install: Download WPS Office for free and install it on your device.
  2. 2. Open the Document: Launch WPS Writer and open the document containing the trapped FORMTEXT field.
  3. 3. Toggle Field Codes: Press Alt+F9 to instantly reveal the hidden field codes in your document.
  4. 4. Extract and Save: Highlight the text, cut it out of the braces, and safely paste it back into your main document workflow.
Advanced field code management using standard Alt+F9 shortcutsHighly compatible with Microsoft Word .docx formats and form fieldsBuilt-in support for VBA macros in advanced versionsLightweight, fast, and user-friendly interface for seamless document editing
microsoft office alternative - wps office

Frequently Asked Questions

What is a FORMTEXT field in a Word document?

A FORMTEXT field is a special type of form control used to create fillable text boxes in a document. It is often used in templates and standardized forms to restrict where a user can type.

Why does deleting the field also delete my text?

When text is typed or pasted directly into the parameters of a field code rather than normal document space, it becomes an embedded part of that field's structure. Deleting the field structure naturally deletes everything contained within its boundaries.

How do I turn off field codes after fixing the text?

You can toggle the field codes view on and off by pressing Alt+F9 on your keyboard. Pressing it once reveals the codes, and pressing it again hides them and returns to the normal text view.

Can I prevent text from getting trapped in fields in the future?

Yes. Ensure you are typing outside of form field boundaries, or convert your document to plain text if forms are no longer needed. Always check your cursor position before pasting large blocks of text into a form-heavy document.