signatureFields and annotationFields) are written into the document itself — in shapes or as short tags in the text. When the document is prepared for signing in the Circularo web app, Circularo turns every definition into a field at its place on the page, assigns the fields to the signer roles they name, and removes the definitions from the document.
The advantage is that the fields follow the content. With Word’s shape alignment options, a signature placeholder stays next to the paragraph it belongs to while the text around it is edited, and the shape’s size decides the size of the field.

Field detection has to be enabled for your organization and for the metadata definition of the document you upload. If an uploaded document shows no fields, ask your administrator to enable it.
id — see Send a document from a template.
There are two ways to write a field:
- JSON markers —
signature_field_start:{...}:signature_field_endwritten inside a shape. They can set every property of a field. - Tags —
{{cir:...}}written inside a shape or directly in the text. They are shorter and cover the common properties.
Preparing the document
-
Place shapes where the fields belong. A rectangle works best; set its alignment options so that it moves with the text it belongs to, and size it for the field it will hold.

-
Write a JSON marker or a tag into each shape. The text can be small and in the shape’s color — it disappears from the document once the fields are created.


-
Upload the document to Circularo and prepare it for signing. Circularo detects the fields and the signer roles they belong to, and you choose who takes each role.

-
Check the fields placed for each signer and send the document for signature.

JSON markers
A JSON marker is the textsignature_field_start:, a JSON object describing the field, and :signature_field_end:
- Write one marker per shape, and keep all of its text inside it. The field takes the shape’s position and size. A shape needs a visible outline or fill to be recognized.
- Write
signature_field_startandsignature_field_endexactly like this, in lower case — make sure Word does not capitalize the first letter. - Use straight double quotes. Word replaces them with typographic quotes as you type, which makes the JSON invalid; turn the replacement off or paste the marker in.
- Spaces in the JSON do not matter, and a marker may wrap over several lines of the shape.
- A marker in a header or footer, repeated at the same place on every page, creates one field, on the first page.
Attributes
The position, size and page of a field always come from the shape, so they cannot be set in the JSON. Attribute names are case-sensitive; an attribute that is misspelled or not listed here is ignored without a warning.
The
subtype of an information field is one of annotation_generic (text), annotation_full_name, annotation_company, annotation_role (job title), annotation_mail, annotation_phone, annotation_date, annotation_datetime, annotation_date_current, annotation_datetime_current, annotation_dropdown, annotation_check, annotation_radio, annotation_link or docId (the document identifier).
Signers
userRoleIddecides who fills a field. Give every field of one signer the sameuserRoleId, and the role a name inuserRoleName— Circularo takes the name from the first field of each role. When the document is used, a person is chosen for each role.usernames the person in advance. Circularo preselects that person — a user or contact when the address is known, otherwise an external recipient with that email address. The person can still be changed before sending.- A field with neither
userRoleIdnorusergoes to one shared signer role together with all other such fields. - Give every role its own
userRoleName. An integration fills the template’s roles by these names, so two roles with the same name cannot be told apart.
Examples
Signaturetype:
groupId:
A number, currency or percentage format cannot be set in a marker. Remove the
config attribute from markers written for earlier versions of this page: it does not set a format, and it overwrites the field’s text.Tags
A tag is a shorter way to write a field:{{cir:, the field type, then properties and flags separated by semicolons, and }}:
{{cir: is recognized even when Word capitalizes it. The tag and its shape are removed from the document; a tag in the text leaves a blank space of its width.
Field types
Radio buttons and links need properties a tag cannot carry — the button group, the URL — so a tag would create an ungrouped button or a link without an address. Write them as JSON markers.
Properties and flags
w:andh:set the size; without them, a tag in a shape takes the shape’s size, and a tag in the text takes its own width and the height of the line (signatures, initials, stamps and images take 7 % of the page height).- A field from a tag in the text starts where the tag is and extends downwards, so leave blank space below a tag for a signature, initials, stamp or image. A field that would run off the page is moved up just enough to fit.
- Type, property and flag names are not case-sensitive; values are. Write each property and flag at most once.
- A value can contain letters, digits, spaces, currency symbols and
_ . , : + / @ & ' ( ) # -, up to 256 characters; the content between{{cir:and}}can be up to 512 characters long. - A tag cannot name a person (
user) or set formatting such as font size, alignment or color — use a JSON marker for that. - A tag in a header or footer creates a field on every page, so give it no
id:.
Examples
When a marker or tag cannot be used
- A marker or tag that cannot be read — JSON that is not valid, a marker or tag that is not closed, a tag with an unknown type, property or flag or an invalid value, or a JSON marker outside a shape — is left visible in the document, and the web app usually lists it in a warning, with the reason.
- A JSON marker that describes an invalid field — a missing or unknown
type, a missingsubtypeof an information field, an invaliduseror color,readOnlywithouttext— makes the whole document fail to process, with a message naming the marker. So does anidused twice.
