Overview
Circularo supports dynamic MS Word eSigning templates using the JSON notation embedded in standard MS Word shapes tools. The advantage of this approach is that there are many options for how your Circularo signature and other fields should look like and behave as you can change the style, size, color, shape, alignment, and many other standard shape object properties in MS Word. Most importantly - by using MS Word shape alignment options you can define signature placeholders that will be positioned relative to the content of the document and will be automatically adjusted as you edit the paragraphs and content itself. All such templates once ready can be uploaded to Circularo Template Library and reused when needed. Every time you use such a template all the fields definitions and even signatories will be automatically recognized and used as part of your Circularo signing process. Circularo users with valid MS Office 365 online subscriptions can also easily edit newly created documents based on such templates online.
Basics
MS Word Shapes
For the best results, we do recommend using the standard “Rectangular” shape for defining the placeholders and to set the alignment properties correctly. It’s a good practice to have the proper size of your shapes ready (depending on the type of signature field, the size of fonts in your documents, etc.) Always try to add or delete the text in the template you are working on to see if your alignment options are set properly. Once ready simply copy & paste the same shape again.
Basic JSON guidelines
All the rectangles defined in the word document must have the following textsignature_field_start:{json}:signature_field_end to be recognized by our signing component in CIRCULARO.
By embedding the text signature_field_start:{json}:signature_field_end in the rectangles, you would be able to transform a simple word document to a document that can be sent for signatures with the sign fields and information fields.

- JSON data is written as name/value pairs.
- A name/value pair consists of a field name (in double quotes), followed by a colon, followed by a value.
- You would be able to define different attributes such as type, style, size, color, alignment using JSON for both the signature fields and for the other information fields.
type- (string) Type of sign field. It can be any of the options [signature,initials,stamp,wacom,annotation,image]id- (string) Identifier of sign field (doesn’t have to be unique). If ID is provided, then it’s used, otherwise random unique ID is generated. It can be used only using workflow.userRoleId- (integer) Identifier of the signer, used only in sign templates and signature extraction for the first assignment to “real” users or shares.userRoleName- (string) Only serves as the display name foruserRoleId
How to prepare the document?
-
Place rectangles on the desired positions in the document.

- Add text to the rectangles. Depending on the field the text inside the rectangles will change.
-
To make the text invisible for the end-user, the text can be small and even in the same color as the rectangle.

-
The prepared word document

-
When the word document is uploaded in CIRCULARO, it will automatically detect the number of signers and redirect to the user selection screen.

- After the users are selected, you will be able to preview the sign fields and the information fields which have been placed on the document for the respective users.
- The document is ready to be sent for signatures.

adam.smith@circularo.com by setting the “user” attribute.
Required attributes
Certain attributes need to be specified when defining the JSON for sign and information fields. If the required attributes are not defined all such rectangles will be ignored and will not be detected by CIRCULARO as a signature field. For the Sign fields (signature, initials, stamp, Wacom) the below attributes are required:position(automatically filled)typepage(automatically filled)userRoleIdoruseror bothuserRoleName(recommended otherwise will be automatically generated)
position(automatically filled)typepage(automatically filled)userRoleIdoruseror bothuserRoleName(recommended otherwise will be automatically generated)
Sign fields JSON
Signature
-
To define the signature field, the “type” attribute needs to be set to “signature”.
-
To predefine the signature for a certain user, set the “user” attribute to the email address of the user.
-
To define signature with a timestamp, set the “timestamp” attribute to true. By default, the value is set to false.
-
To define the signature field as required, set the “required” attribute to true.
Initials
-
To define the initials field, the “type” attribute needs to be set to “initials”.
-
To predefine initials for a certain user, set the “user” attribute to the email address of the user.
Stamp
-
To define the Stamp field, the “type” attribute needs to be set to “stamp”.
-
To predefine the Stamp for a certain user, set the “user” attribute to the email address of the user.
WACOM
-
To define the WACOM sign field, the “type” attribute needs to be set to “wacom”.
-
To predefine the WACOM sign for a certain user, set the “user” attribute to the email address of the user.
Information fields JSON
For all the information fields it is necessary to define the attribute"type": "annotation" and the attribute "subtype" will vary depending on the field. For defining company field attribute subtype should be defined as "subtype": "annotation_company"
Text
Number
Decimal Number
Currency
Percentage
Company
Date
Name
Phone
Job Title
List
Check
Radio button
Link
Comb field
Image
JSON text options
The different types of attributes that can be defined in the JSON text are listed below.id- (string) Identifier of sign field (doesn’t have to be unique). If ID is provided, then it’s used, otherwise random unique ID is generated. It can be used only using workflow.user- (string) User which has this sign field assigned toposition- (Object) Position is containing position itself (top left corner) and dimensions, both are expressed as a ratio within document page ⇒ all numbers are between 0 and 1percentX- (float) X coord of top left corner <0, 1)percentY- (float) Y coord of top left corner <0, 1)percentWidth- (float) Width of field (0, 1>percentHeight- (float) Height of field (0, 1>
The position will be filled automatically based on the rectangle position. Will be ignored if present in JSON.
type- (string) Type of sign field [signature,initials,stamp,wacom,annotation,image]timestamp- (boolean) Should timestamp be embedded into a final signature? (not supported forannotationandimage, defaultfalse)text- (string) Text of annotation (annotationonly), forannotation_dropdownit sets the default value selected in the dropdown list. The value must match one of thevalues.
If you want to make new line use the following character sequence
\n.align- (string) Text alignment of annotation [left,center,right] (annotationonly, defaultleft)fontSize- (float) Font size of annotation (annotationonly, default11)bold- (boolean) Use bold font (annotationonly, defaultfalse)color- (string) Color that text should use in hex format e.g. #7E544B (annotationonly, default #000000)page- (integerorArray<integer>) Page(s) on which this sign field should be located (first page is 1)
The page will be filled automatically based on the rectangle position. Will be ignored if present in JSON.
order- (integer) Order in which this sign field should be signed (always signing from the lowest non-signed field) It can be used only using workflow.subtype- (string) Further specification of sign field type (used only fordocIdfor now)[ annotation_generic, annotation_date, annotation_full_name, annotation_company, annotation_phone, annotation_mail, annotation_role, annotation_check, annotation_dropdown, annotation_link ]required- (boolean) Sign field must be filled for the sign to complete (defaultfalse).tooltip- (string) Tooltip displayed to the user.usage- (string) How this field should be filled [manual,automatic] (defaultmanual) Only relevant for workflow (autosign feature).values- (Array<string>) Array of possible values for annotation (annotation > annotation_dropdownonly)shareId- (string) Share ID which this sign field is bounded to.
ShareId will be filled by the backend while sharing. Sign fields used during workflow have this value empty. Will be ignored if present in JSON.
numberOfLines- (integer) How many lines annotation has. (annotationonly, defaultauto)userRoleId- (integer) Identifier of the signer, used only in sign templates and signature extraction for the first assignment to “real” users or shares.userRoleName- (string) Only serves as the display name foruserRoleId
Tips and Tricks
Disclaimers
- When adding the text in the rectangles make sure the entire text is within the rectangle else when the document is parsed by CIRCULARO the rectangle will not be detected as a signing component. As can be seen below, the recipient signature field was not detected.

- Make sure there are no whitespaces in the JSON text, else the field will be recognized but it will also display the JSON text (it will not get replaced).
