Markers: place fields from the document text

The complete reference for markers, the short codes you type into a document so E-Sign places signature and input fields for you.

In plain words: A marker (also called an anchor token) is a short code such as {{sig:employee}} that you type into the text of a document. E-Sign reads it and creates a field at that spot for the person it names: a signature box, a date, a text line, and so on. Use markers when you produce the same kind of document again and again, or when another system generates your PDFs, so that nobody has to drag fields onto the page by hand. This page is the full reference. New to the words field, template or recipient? See E-Sign basics.

Where to find it: In E-Sign, open Settings at the bottom of the left sidebar, then Anchor Tokens under Integrations. While you place fields in an editor, the button Place fields from the document in the field palette opens the same reference in a dialog called "Anchor tokens". Who can use it: Everyone can read the reference page. Anyone who can place fields can use markers.

Why use markers

Placing fields by hand is fine for one contract. It is slow when you send fifty employment contracts that all have the signature at the bottom of page 3, or when your HR system produces each contract as a PDF.

With markers, the position lives in the document itself. Example: your contract template ends with this line:

{{sig:employee}} {{date_signed:employee}}

E-Sign finds both codes, puts a signature box and a signing date where the codes are, and assigns them to the person called employee. If the contract grows by a page, the codes move with the text and the fields follow.

How a marker is written

A marker has this shape:

{{type:role option=value option=value}}

Part

What it is

Example

{{ and }}

Opening and closing braces, two of each

{{ ... }}

type

What kind of field to create (lowercase)

sig, date_signed, text

:

A colon, with no spaces around it

:

role

Who signs here (see Who signs there)

employee, #1, an@corp.vn

option=value

Zero or more extras, separated by single spaces

w=200, key=contract_value

A full example with options: {{text:hr_manager key=contract_value w=140}}

You can click any row on the Anchor Tokens page to copy that marker.

The **Anchor Tokens** page with **Anchor Tokens** selected in the Settings menu: the **Who signs there** examples

What happens to the marker text

This is the most important thing to understand, because the marker is real text in your PDF.

How the document reaches E-Sign

What E-Sign does with the markers

What you should do

A person uploads the file in E-Sign (a new envelope, or a template)

E-Sign reads the markers and suggests fields. You review and accept them. The marker text stays in the PDF exactly as typed.

Type the markers in white or invisible text in your source file (Word, Google Docs, your design tool) before you export the PDF.

A connected system sends the document (see Connect your own system to E-Sign)

E-Sign places the fields automatically, with nobody reviewing, and hides the markers. It makes the marker text invisible. If it cannot, it covers the marker with a colored patch. White is the default patch color, so use bg= on colored pages.

Keep each marker on its own, on one line. Set bg= to the page color when the page is not white.

Important: When you upload a document yourself, E-Sign does not hide anything. If your marker is typed in black, the signer sees {{sig:employee}} printed on the page. Make the marker text white (or the same color as the page background) before you export.

Marker types

Every type is lowercase. Types come in two groups.

Filled automatically

The signer does not type into these. E-Sign fills them when the person signs. None of them needs key=.

Type

Creates

Default size (width x height, as a share of the page)

Example

sig

Signature: where the signature lands

24% x 8%

{{sig:employee}}

initials

Initials: a short initials mark

17% x 8%

{{initials:employee}}

stamp

Stamp: the company seal image

17% x 12%

{{stamp:hr_manager}}

date_signed

Date signed: the date the signer signs

21% x 3%

{{date_signed:employee}}

name

Name: the signer's name, printed

17% x 3%

{{name:employee}}

email

Email: the signer's email, printed

17% x 3%

{{email:employee}}

The signer fills in

The signer types or picks a value. Every one of these needs key= (see The key option).

Type

Creates

Default size

Example

text

Text: a line the signer types

25% x 6%

{{text:employee key=national_id}}

date

Date: a date the signer picks

21% x 3%

{{date:employee key=start_date}}

number

Number: a number the signer types

21% x 3%

{{number:hr_manager key=contract_value}}

checkbox

Checkbox: one tick box

16 x 16 points, fixed

{{checkbox:employee key=accepts_terms}}

dropdown

Dropdown: a list the signer chooses from

25% x 3%

{{dropdown:employee key=work_mode options=Onsite,Remote,Hybrid}}

How to read the sizes: percentages are shares of the page, so a field looks the same on A4 and on Letter paper. On an A4 page (about 595 x 842 points), a sig field is about 143 points wide and 67 points tall. A point is a printing unit: 72 points make one inch. A checkbox is always 16 x 16 points because a tick box should not grow with the paper.

date and date_signed are different. date_signed is filled automatically with the day the person signs. date lets the signer pick any date and must have a key.

Who signs there

The part after the colon names the person the field belongs to. What you may write depends on where the document is used.

In a template

In a template, write the role's Integration key. Every row in the template's Recipients panel has a small key box (marked with a # icon). Hover it to read "Integration key" and the hint about markers. If you leave the key empty, E-Sign builds it from the label: a role labeled "HR Manager" gets hr_manager, and "NhΓ’n viΓͺn" gets nhan_vien.

  • The match is exact and case-sensitive, and keys are lowercase. {{sig:HR_Manager}} does not match hr_manager.

  • Only roles that sign can own fields.

For how to set up roles, see Placeholders: set up roles, then fill in people.

In an envelope built from an uploaded file

Here the marker names one of the envelope's own recipients. The recipient must already be added to the envelope. A marker never adds someone and never guesses.

Form

Example

Meaning

Signing order

#1

The signer with order number 1 (one to three digits after #)

Email

an@corp.vn

The recipient with that email. Capital letters do not matter.

User id

1042

An internal recipient, by their number in your Rework workspace

Username

phuongnt

An internal recipient, by username (lowercase)

Recipient key

employee

A recipient whose Integration key is employee. If no recipient has that key, E-Sign tries it as a username.

E-Sign reads the text in this order: first # plus digits, then anything containing @, then all digits (a user id), then a key or username. A username made only of digits is therefore read as a user id.

Which recipients can be named: only people who sign (the Signer role, and in-person signers). Approvers, reviewers and followers cannot be named in a marker.

Tip: When two signers sign at the same time (a parallel envelope) they can share the same order number. Then #1 points at two people and E-Sign cannot choose. Use the signer's email instead of #N. With a strict "In order" flow, #N is always one person.

In a document sent by a connected system

The role is the name that the connected system uses for that signer, which matches the template's Integration key. If a marker names someone the system did not send, E-Sign refuses to create the envelope instead of guessing, so no half-built envelope is left behind.

Options you can add

Put options inside the braces after the role, separated by single spaces. Example: {{sig:hr_manager w=200 h=80 anchor=top-right}}

Option

What it does

Notes

w=200

Width in points, instead of the default

Not a number: the default size is used

h=80

Height in points, instead of the default

Not a number: the default size is used

anchor=top-right

Which corner of the field sits on the marker. The field grows away from that corner.

Default top-left. See below.

offset_x=10

Nudge right in points. A negative value moves left.

Decimals allowed

offset_y=-5

Nudge up in points. A negative value moves down.

Decimals allowed

bg=f5f0e1

Color of the patch that covers the marker text

Only used when a connected system sends the document. Default white.

key=amount

Gives the field a name so a connected system can prefill it

Required on text, date, number, checkbox and dropdown

options=A,B,C

The choices of a dropdown, separated by commas

Dropdown only

There is no required= or label= option. Options you spell wrong, or write in capitals (ANCHOR=), are ignored.

Where the field lands: the anchor option

E-Sign takes the top-left corner of the first character of the marker as the anchor point. The anchor= option chooses which corner or edge of the field is pinned to that point.

Value

The field's ... sits on the marker

The field extends

top-left (default)

top-left corner

to the right and down

top-center

middle of the top edge

down, centered

top-right

top-right corner

to the left and down

left

middle of the left edge

to the right, centered vertically

center

center

in every direction

right

middle of the right edge

to the left, centered vertically

bottom-left

bottom-left corner

to the right and up

bottom-center

middle of the bottom edge

up, centered

bottom-right

bottom-right corner

to the left and up

Example: a marker sits at the right margin and you want the signature box to end there. Use {{sig:employee w=180 anchor=top-right}}, and the 180-point box extends to the left of the marker.

Reserve empty space for the field in your layout. The marker text is only a few characters wide, but the field is much larger.

The key option

A field key is a short name for the value in a field, such as contract_value. Another system uses it to send the value in before the signer opens the document (see Prefilled values and connected apps). In the editor, the same name appears as Field key with the word "(integration)" in the field's settings (see Field settings: required, validation, keys and formatting).

  • Write keys in lowercase letters, digits and underscores, such as contract_value. The editor's own Field key box turns capitals into lowercase and other characters into underscores. A key in a marker is used exactly as you typed it, so a capital letter would not match.

  • The six automatic types (sig, initials, stamp, date_signed, name, email) ignore key= because they fill from the signer.

  • The same marker used twice, or two markers with the same key, create separate fields that share one value.

The bg option

bg= takes a color as three or six hex digits, with or without #: bg=fff, bg=f5f0e1 or bg=#f5f0e1. It matters only for documents that a connected system sends. Set it to your page color on letterheads and colored pages so that a covering patch is invisible. An invalid color is an error.

Strict rules

Markers are matched by an exact pattern. Most mistakes are silent: E-Sign finds nothing, shows no message, and places no field. Check this table first when a marker does not work.

Mistake

Example

What happens

Capital letters in the type

{{SIG:employee}}, {{Sig:employee}}

Ignored, silently

A long type name

{{signature:employee}}

Ignored, silently. Use sig.

Spaces inside the braces

{{ sig:employee }} or {{sig: employee}}

Ignored, silently

No role

{{sig}}

Ignored, silently

Spaces, accents or symbols in the role

{{sig:nhΓ’n_viΓͺn}}

Ignored, silently. Roles use letters, digits and _ # @ . + - only.

A space inside a dropdown choice

options=Not sure,Yes

The whole marker is ignored, silently. Write Not_sure,Yes.

A comma inside a dropdown choice

options=Yes,No,Maybe, later

Commas separate choices, and the space also breaks the marker

Options separated by commas

w=10,h=20

w is read as 10,h=20, which is not a number, so the default size is used

Marker split over two lines

{{sig: at the end of one line, employee}} on the next

Ignored, silently. Keep the whole marker on one line.

Marker in an image or a scan

A photographed page

Nothing to read. Markers must be real text.

Missing key= on an input type

{{date:employee}}

A token issue (editor) or a refused document (connected system). Write {{date:employee key=start_date}}.

Wrong anchor= value

anchor=middle

A token issue or a refused document. Use a value from the table above.

Invalid bg= color

bg=blue

A token issue or a refused document

Capital letters in an option name

ANCHOR=top-right

The option is ignored

Other details:

  • The same marker may appear many times, even on one page. Each one creates its own field on its own page.

  • Markers on every page of the document are read. Pages count from 1.

  • If the marker text has several fonts inside it (a bold word in the middle, for example), E-Sign still reads it, as long as it is on one line.

  • Word (.docx) files are converted to PDF first, and the converted PDF is what E-Sign reads.

What you see in the editor

In a new envelope

  1. Create an envelope and add the documents and recipients. See Create an envelope and add documents.

  2. Go to the Place Fields step. E-Sign scans every document once when the editor opens.

  3. A strip appears under the top bar, for example "2 anchor fields + 1 suggested placement detected, review them one by one, or accept all."

Each suggestion is drawn as a purple-framed "ghost" field with a sparkle badge. Nothing is placed until you accept it. The strip has three buttons:

The **Place Fields** step after uploading a PDF that holds markers: the strip "3 anchor fields detected"

Button

What it does

Review

Walks you through the suggestions one at a time

Accept all

Places every pending suggestion at once. One undo step reverses it.

Dismiss

Clears the suggestions without placing them

"Suggested placement" is a second kind of suggestion: E-Sign also spots signature areas in the text by itself. "Anchor field" is a suggestion that came from one of your markers.

In review mode, a small bar shows "x / y reviewed" and these buttons: Accept (Enter), Decline (Delete), Skip (S), Undo (Ctrl+Z). Tab and Shift+Tab move to the next and previous suggestion. Esc closes the review.

If E-Sign reads a marker but cannot match it to anyone, a warning badge shows "1 token issue" or "n token issues". Hover it to see up to six of them, each written as the marker, its page and a hint. If every marker has a problem, the strip says "Anchor tokens found, but none could be placed." Reopening the editor does not suggest a field you already accepted.

In a template

In the template workspace, open the Suggestions panel in the left rail. The scan runs once each time you open the workspace, and only for documents that E-Sign saw markers in when the template was saved. Saving a template scans it again. The panel holds the same Review, Accept all and Dismiss actions and a collapsible block called "Anchor token syntax" with copyable examples. Its link See all tokens opens the reference dialog.

When there is nothing to show, the panel says "No suggestions for this template".

Publishing never waits on markers. Problems show as warnings in the Review tab and do not block publishing (see Publish a template and manage versions).

Token issues and what they mean

Message you see

What it means

Who fixes it

What to do

"No signer with order 3 on this envelope."

A marker says #3, but no signer has order 3

The author

Add the signer, or change the marker

"2 parallel signers share order 1, reference one by email instead."

#1 points at two people who sign at the same time

The author

Use the person's email in the marker

"Add a recipient with email an@corp.vn first."

The email is not a recipient of this envelope

The author

Add the recipient first

"Nguyen Van An (user 1042) is not a recipient yet, add them first."

The user exists but is not on this envelope. A username shows as "(@username)".

The author

Add that person as a recipient

"No user with id 1042 in this system."

That user number does not exist in your workspace

The author

Correct the number

"No recipient key or username matches "employee"."

No recipient has this key, and no user has this username

The author

Set the Integration key on the recipient, or fix the marker

"Add a role with this key in the Roles panel, or fix the token."

Template only: no role has this Integration key. The Roles panel is the Recipients panel.

The template author

Add the role or fix the key

"Token {{sig:manager}} (page 2) refers to unknown role "manager", add it in Roles or fix the token"

Review tab, template only. The role does not exist.

The template author

Add the role in Recipients, or fix the marker

"Token ... (page 2) could not be parsed, check the {{type:role key=...}} grammar"

Review tab. The marker breaks the pattern, for example a missing key.

The author

Fix the marker with the rules above

'Key "start_date" is assigned to 2 different recipients, a prefilled value applies to all of them; split the keys if values should differ'

Editor warning: one key is on fields of different signers

The author

Give each signer's field its own key

When E-Sign cannot match a marker, it places nothing. It never attaches the field to a different person.

What the template page shows

In E-Sign, open Templates in the left sidebar, then open a template. Under Documents, each file shows a line such as "3 fields Β· 2 anchors", and small chips when something needs attention:

Chip

What it means

What to do

No text layer

The PDF is a scan or an image. Markers and suggestions can never work on it.

Place fields by hand, or export a PDF that contains real text

1 anchor not recognised or 2 anchors not recognised

A marker looks live in the document but E-Sign cannot read it, so it places nothing

Fix the marker with the rules above

1 suggested placement or 2 suggested placements

Signature areas that E-Sign found and that have no field yet

Open the workspace and review them

Re-analysis pending

The saved analysis is from an older version of the detector. It runs again the next time you save the document.

Save the template, or ignore it

The Overview checklist on the same page has a Detection row. It shows only when something is wrong, with texts like "1 document has no text layer, fields must be placed by hand" or "1 anchor token is not recognised".

The "not recognised" count covers markers that E-Sign cannot read. A marker that reads fine but names a role the template does not have is reported in the workspace and in the Review tab instead.

When a marker places nothing

Situation

What it means

What to do

No markers found

Markers are read from the text of the file. A scanned page or an exported image has no text.

Use a PDF with real text, or place fields by hand

The name matched nobody

E-Sign says which name it could not match, and places nothing

Fix the role, add the recipient, or set the Integration key

The name matched several people

More than one recipient fits the name (for example parallel signers sharing #1)

Use the email of the person you mean

A field marker has no key=

Text, date, number, checkbox and dropdown each need one

Add key= to the marker

The marker is typed with a rule from the table above broken

The pattern does not match, so E-Sign ignores it

Compare it with the rules above

If a system generates your PDFs

Follow these rules in whatever produces the PDF so that markers work first time.

  1. Produce a real PDF with the marker as text, not as an image, outlines or a scan.

  2. Put the whole marker on one line, as one piece of text. Do not let the line wrap in the middle of it.

  3. Write the type and option names in lowercase. Write the role with ASCII letters, digits and _ # @ . + - only.

  4. Make the role match what the system sends for that signer, in lowercase. The Integration key on the template is the match.

  5. Give every text, date, number, checkbox and dropdown marker a key= in lowercase with underscores. Do not put spaces or commas in dropdown choices.

  6. Print the marker in invisible or transparent text, or in the page color. E-Sign makes the markers invisible itself when documents come from a connected system, but it can only do that cleanly when the marker is a separate piece of text. A marker inside a longer sentence, or text with an unusual font setup, gets a colored patch instead. White is the default, so on a letterhead or colored page set bg= to the page color.

  7. Put the marker's top-left point where you want the field's corner. Use w, h, anchor, offset_x and offset_y to fine-tune. Leave the space the field needs empty.

  8. Send the values for keyed fields with the request so the signer sees them already filled. See Prefilled values and connected apps.

  9. Open a sample document in E-Sign and look for stray {{...}} text before you roll out.

  10. If a person uploads the same file by hand instead, nothing hides the markers. Make the marker text white or invisible in the source file.

Documents that a system sends must be PDF files. Word files are converted only when a person uploads them in E-Sign.

A complete example

An employment contract with two signers: the employee and the HR manager. Near the end of the PDF, in white text:

Where

Marker

Employee block

{{sig:employee}} {{date_signed:employee}} {{name:employee}}

Employee details

{{text:employee key=national_id}} {{date:employee key=start_date}}

Work mode choice

{{dropdown:employee key=work_mode options=Onsite,Remote,Hybrid}}

Agreement tick

{{checkbox:employee key=accepts_terms}}

Salary line

{{number:hr_manager key=contract_value}}

HR manager block

{{sig:hr_manager w=180 h=60 anchor=bottom-left}} {{date_signed:hr_manager}}

In the template, the two roles have the Integration keys employee and hr_manager. E-Sign suggests 10 fields, the template author clicks Accept all, and every envelope made from the template has them in place.

Troubleshooting

Problem

Why it happens

What to do

No suggestions appear

The file has no text layer, the marker breaks a strict rule, or the editor was opened before the file was added

Check the strict rules table, then reopen the editor

The marker text is visible on the signed document

A person uploaded the file, so E-Sign did not hide the marker

Make the marker text white or invisible in the source file

A colored rectangle sits over the page

E-Sign had to cover the marker with a patch and the patch color is white

Add bg= with the page color to the marker

The field lands on the wrong person

The role is wrong, or the number points at a different signer

Use the email or the Integration key

The field is in the wrong position

Anchor corner and offset are not what you expected

Change anchor=, offset_x or offset_y

A marker with a dropdown does nothing

A choice has a space in it

Use underscores in the choices