Esqase

Search documentation

Search all Esqase documentation pages

Document placeholders

Placeholders are reusable fill-in-the-blank variables you put inside a rich-text document, written with double curly braces like {{client_name}}. You write the document once with placeholders where the details go, then fill in a value for each one and watch every matching spot update at the same time. This is ideal for engagement letters, retainer agreements, and any template where the wording stays the same but a few names, dates, or amounts change each time.

The document keeps the {{placeholder}} tokens when it is saved, so it stays a reusable template. Filling in values previews them in the editor and carries them into what you print, download, or export, without changing the underlying template.

Note: Placeholders are part of the rich-text file editor, so they apply to documents you create inside Esqase, not to uploaded PDFs or Word files. To learn about the editor itself, see Editing documents (the file editor). Placeholders pair especially well with Document templates.

Before you begin

  • You manage placeholders from the Placeholders tab in the editor's right-hand side panel.
  • What you can do depends on your role's permissions for documents:
    • View access lets you open the Placeholders tab and see the placeholders and their values, but the fields are read-only.
    • Update (edit) access lets you add placeholders, fill in their values, and remove them.
    • Firm owners can always do everything.
  • Placeholder values are saved with the document, not shared across your firm. Two documents that both use {{client_name}} each keep their own value.

What a placeholder is

A placeholder is a named token, written {{key}}, that stands in for a value you fill in later. Placeholder keys use lowercase letters, numbers, and underscores (for example client_name, matter_no, opposing_party).

  • While a placeholder has no value, it shows in the document as its token, for example {{client_name}}.
  • Once you fill in a value, every place that token appears immediately shows the value instead, for example Jane Doe.
  • The saved document keeps the {{client_name}} token, not the value. That is what makes the document reusable: you (or a colleague) can open it later, fill in different values, and reuse the same wording.

There are two kinds of placeholder:

  • Custom placeholders are ones you invent for this document, such as {{settlement_amount}}.
  • System fields are a built-in set of common merge fields (such as {{contact_name}}, {{firm_name}}, and {{date_today}}) that Esqase offers as a ready-made palette. You still fill in their values yourself (see Good to know).

📷 Screenshot: A document open in the editor with a {{client_name}} placeholder chip in the body and the Placeholders tab open on the right showing the matching row. Suggested image: images/document-placeholders/placeholders-overview.png

Open the Placeholders panel

  1. Open a rich-text document in the editor (click its name or Open in the documents list).
  2. Click the round panel toggle on the right edge of the page to open the side panel.
  3. Click the Placeholders tab. (The panel also has Comments, Details, and Activity tabs.)

The panel lists every placeholder in the document, each with a field for its value, and a collapsible System fields section at the bottom.

Tip: Clicking any placeholder in the document (whether it is filled in or still showing its {{token}}) opens this panel on the Placeholders tab, so you can jump straight to editing its value.

Add a placeholder

There are two ways to add a placeholder, and you can mix them freely.

Type it in the document

  1. Click into the document where you want the variable to go.
  2. Type the placeholder using double curly braces, for example {{client_name}}.
  3. When you finish typing the closing }}, Esqase turns the text into a placeholder chip and adds it to the Placeholders list automatically.

This is the quickest way while you are writing: type the token inline, and it shows up in the panel ready to fill in.

Add it from the panel

Use this to drop a placeholder into the document without typing the braces yourself.

  1. Click in the document where you want the placeholder to go (so Esqase knows where to place it).
  2. Open the Placeholders tab.
  3. In the Add field at the top, type a key, for example matter_no. You can type a bare key (matter_no) or a full token ({{matter_no}}); Esqase strips the braces to the correct format for you.
  4. Click Add (or press Enter).

Esqase inserts the {{matter_no}} token into the document at the spot where your cursor last was, and the placeholder appears in the list with a value field. If you had not placed your cursor in the body yet, the token is added at the end of the document.

Note: Keys must use lowercase letters, numbers, and underscores. If you enter something else, you will see "Use lowercase letters, numbers, and underscores."

📷 Screenshot: The top of the Placeholders tab with the Add field (and its attached Add button) filled in with customer_name. Suggested image: images/document-placeholders/add-placeholder.png

Fill in values

This is where placeholders do their work: type a value once and it appears everywhere that placeholder is used.

  1. In the Placeholders list, find the placeholder's row.
  2. Type into its Value field.

As you type, every place that placeholder appears in the document updates to show the value. Your changes save automatically: a small Saving... and then Saved indicator appears at the top of the panel. Clear the value to go back to showing the bare {{token}}.

Tip: Because the document still stores the tokens, you can fill in values to preview a finished draft, then reuse the same document later with a fresh set of values.

📷 Screenshot: The Placeholders list with a client_name row, its Value field showing Jane Doe, and the matching values in the document updated to Jane Doe. Suggested image: images/document-placeholders/fill-values.png

Format a placeholder

A filled-in placeholder reads as a natural part of the sentence rather than a highlighted tag:

  • A placeholder with a value renders as plain text in the same font, size, weight, and color as the text around it.
  • A placeholder still showing its {{token}} appears as a small shaded chip, so the blanks that remain are easy to spot.

You can also style a placeholder directly so its value matches the surrounding text:

  1. Select the placeholder in the document (click it, or drag-select across it together with nearby text).
  2. Apply any formatting from the toolbar or with keyboard shortcuts: bold, italic, underline, strikethrough, text color, highlight, font family, or font size.

The value updates to match, the formatting is saved with the document, and it carries into print, PDF, and Word exports.

Use a built-in system field

Esqase includes a palette of common merge fields so you do not have to remember their names.

  1. Click in the document where you want the field to go.
  2. In the Placeholders panel, expand the System fields section at the bottom.
  3. Browse the groups: Contact, Firm, Member (sender), Event, Form, Task, Invoice, Document, Access, and Today. Each field shows its token and a short description.
  4. Click Insert next to the field you want. Esqase places its {{key}} token at the spot where your cursor last was (or at the end of the document if you have not clicked into the body yet).

Once it is in the document, the field appears in the main list above, where you can fill in its value like any other placeholder. You can also just type the token (for example {{firm_name}}) directly in the body.

📷 Screenshot: The System fields section expanded, showing the Contact and Firm groups with fields like {{contact_name}} and {{firm_name}}, each with an Insert button. Suggested image: images/document-placeholders/system-fields.png

Remove a placeholder

You can remove a placeholder from the list only when it is not currently used in the document body (its row is labeled Custom). To remove a placeholder that is in the document, first delete the chip from the document text; it then leaves the list automatically.

  1. In the Placeholders list, find a placeholder labeled Custom.
  2. Click the X (remove) control on its row.

Each row also shows where the placeholder stands:

  • In document: the token is used in the document body.
  • Custom: you added it but it is not in the document yet.
  • System: it is one of the built-in merge fields.

How placeholders appear in exports

When you print, download, or export a document, Esqase uses the values you filled in:

  • Print and PDF download show the filled-in values exactly as they appear on screen.
  • Word (.docx) export also replaces each placeholder with its value.

The document you keep editing still holds the {{tokens}}, so exporting a filled-in copy never turns your template into a one-off. See Export a document.

Good to know

  • System fields are not filled in automatically. A field like {{firm_name}} behaves like any other placeholder: it stays a token until you type a value for it. The built-in list is a convenient, well-named starting set, not an automatic data merge from your matter or contact records.
  • Shared and signing links show the raw tokens. If you share a document by link or send it for e-signature, the recipient sees the {{tokens}}, not your filled-in values. To send a finished copy, download the document as a PDF (which uses your values) and share or sign that file.
  • Values are per document. Filling in {{client_name}} on one document does not fill it in on another.

Common questions

  • Will filling in values change my template? No. The saved document keeps the {{tokens}}. Values are stored separately, so the document stays reusable.
  • I typed {{name}} but it did not turn into a chip. Make sure you typed both closing braces }} and that the key uses only lowercase letters, numbers, and underscores. A key with spaces or capital letters is left as plain text.
  • Do placeholders carry over when I create a document from a template? Yes. Starting a new document from a template brings over its placeholders along with its content and page setup. See Document templates.
  • Can clients see the placeholder names? On a shared or signing link they see the raw {{tokens}}. Download a PDF to share a copy with the values filled in.