Word templates

A Word template open in the WordFields editor, with the template pane on the left
In this Article

Turn a Word document into a template in the Word editor — open the .docx, put fields where the text changes, try it out in Preview, and bring it back to desktop Word whenever the layout needs work.


Start a Word template

The start of a new Word template

  1. Click + Create new in the left sidebar and select Word template. The template is made in the folder you have open.
  2. Press Ctrl+O or click Open .docx and pick the document — or drop the file onto the page.
  3. Add your fields (below), then click Create template in the top left. Its name is the file's; click the name in the toolbar to change it. A message confirms the template was created, and it is ready to create documents from.

Tip

You can also drop a .docx onto the template list — All templates or a folder's page — and the editor opens with the file loaded.

To change an existing template, open it from the content list and click Edit template in its details pane. You need an Admin or Manager role.

Note

The editor shows the document as Word lays it out — pages, headers and footers, tables, pictures. You can type into the text, headers and footers included, and format it, but the layout itself is changed in Word: see Edit in Word below.


Put in a field

The toolbar that appears over selected text

  1. Select the text that changes each time — a name, a date, an amount — or place the cursor where a field should go.
  2. In the small toolbar that appears, click Insert field (Ctrl+M) for a text field, or its arrow, More fields, for the other kinds: number, date, select and toggle fields. Merge tags and formulas are under Insert tag, the tag button next to it.

The Insert field menu

The selected text becomes the field's hint — what the user sees while the field is empty — and, where it makes a good name, its name. The field's properties open in the template pane on the left: change its kind, hint, default value, format, whether it is named and whether it is required. See Fields in templates for every property.

A field selected in the document, with its properties in the pane

Over selected text the toolbar has a second row that formats it: bold, italic, underline, highlight color and Clear Formatting. With a field selected, the same buttons in the pane format the whole field. Strikethrough a document already has is kept, and Clear Formatting takes it off.

Tip

Auto-insert fields in the template pane lets the AI Assistant read the document and put in the fields it finds — names, dates, amounts, and references where a value repeats. What it inserted is one change, so Ctrl+Z takes it all back.


Headers and footers

Double-click a header or footer to edit it, as in Word. The body dims, a dashed line shows where each header ends and each footer starts, and a tab on it says which one it is — First Page Header, Even Page Footer. Type and format the text, and put in fields, merge tags and formulas, just as in the body. A header shown on several pages changes on all of them as you type.

Double-click the body, or press Esc, to go back to it.

A header that no page of the template shows yet — the header of the pages after the first in a one-page template with a different first page, say — is on a page of its own after the template's, marked This page is not part of this template. Edit it there; its fields are asked for in the form like the others.

Note

A page with no header or footer at all can't get one here. Double-click where it would be and a tip offers Edit in Word: add the header in desktop Word, bring the file back, and edit it here from then on.


Edit in Word

The Editing in Desktop Word dialog

For anything the browser can't do — tables, layout, styles, a new header — take the file to Word and back:

  1. Click Edit in Word in the toolbar. A copy of the template as it is now downloads, and a dialog waits for it.
  2. Open the copy in desktop Word, make your changes, and save it.
  3. Drop the saved file onto the dialog, or click it to choose the file.

The template takes the changes, with its fields intact. A green bar confirms it; you can go on editing, or save.

Note

The editor expects the copy it downloaded. Bring back a different file — another document, or a copy downloaded before the page was reloaded — and it asks before using it: Override makes that file the template, Choose another file goes back to the dialog. An earlier copy downloaded from the same page is asked about too. Closing the dialog stops the wait — the template stays as it was.

Track changes (the toolbar button next to zoom) marks what your edits changed while you work: inserted text turquoise, deleted text red. It is off when the editor opens.

Replace the file

To put a different document in the template's place without Edit in Word, drop the .docx onto the open template. The editor asks first: Override replaces the template with the file, Cancel leaves it as it was.

Either way the change isn't saved until you click Save template, and Undo takes the template back to what it was.


Preview and test

The template in Preview, with sample data filled in

Switch the mode menu in the top right from Editing to Preview to see the template as your team will — the button turns dark, so you can tell you aren't editing: the form in the pane, the fields fillable in the document, merge tags and formulas worked out as you type. Fill sample data fills every field with a sample of its kind.

Preview document makes a test document from the template as it is now, unsaved changes included, and shows it over the editor; its menu offers Preview with fields highlighted, which marks what the fields put in, in yellow. Download a copy saves the test file; Back to template closes it. Nothing is recorded or numbered.

A test document with the fields highlighted


Save

Save template (Ctrl+S) saves the template. It is disabled until something changed, says Saving while it does, and Saved until the next change. Closing with unsaved changes asks first.

Note

A template isn't saved while one of its formulas has an error: the red bar at the top says which. See Writing a formula.