---
description: >-
  Learn how to create fillable fields in your Word document using curly
  brackets.
---

# How to create a template using Microsoft Word?

An Agrello template can be easily created using **Microsoft Word**. Of course, you can prepare your template also in Google Docs, Open Office, or some other text editing software as long as you can save it in **Docx format**.

### What is an Agrello template?

Templates are a handy shortcut for creating documents or contracts that are reused frequently and where the content does not change that much. For example, NDAs, application forms, terms and conditions, and simple sales contracts.

In essence, the template is a simple Docx file, where you have added **dynamic fields** marked with \{{curly\_brackets\}}.

![](https://2931725216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyec8PpbkRWjBYStjkAcr%2Fuploads%2FBABxYOInntzF1EZPZvo9%2Fediting%20templates-inWord.png?alt=media\&token=6eba3528-7a7b-47cc-a1a5-71a6fb6a1dff)

These fields can later be filled with data once you create a new document based on that template.

### Create a field with \{{curly\_brakets\}}

To create a field in your Word document, you need to insert the field name starting with **\{{** then add the **field name** and end with **\}}** to your text where the field should be.

Choose an understandable field name using only alphabet characters, numbers, and underscores, for example **\{{Company\_1\_name\}}** and **\{{Company\_2\_name\}}** for two counterpartie&#x73;**.**

![](https://2931725216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyec8PpbkRWjBYStjkAcr%2Fuploads%2FYMcMbTM9lMsXYj5EMYKC%2Fcurly_backets_demo_1.gif?alt=media\&token=4fc481ac-59b4-464e-b77d-097e2b12a458)

Download an example template to see how it works:

{% file src="https://2931725216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyec8PpbkRWjBYStjkAcr%2Fuploads%2FMVcv6FzVAIeyoUMrYDwu%2FNon-Disclosure%20Agreement-AG-demo.docx?alt=media&token=05e578be-096b-4baa-a7f1-6109f3f1cf25" %}

‍

{% hint style="info" %}
11.03.2022 update

**As we have witnessed some corner case errors when handling Word DOCX fields marked with \{{curly\_brackets\}} we need to implement a few restrictions on using fields in Word documents.**

\
Use only alphanumeric characters inside the curly brackets: A\_Z, a-z, 0-9 and underscores.\


<mark style="color:green;">**Correct:**</mark>

* \{{first\_name\}}
* \{{company\_name\}}
* \{{0\_day\_clause\}}

\
<mark style="color:red;">**Incorrect:**</mark>

* \{{First Name\}}
* \{{Name **&** Position\}}
* \{{Nam&#x65;**&**&#x50;osition\}}
* \{{**Ä**riregistri\_number\}}\


Using text formatting inside or partially inside the curly bracket is not allowed. If you want to use text formatting, enclose the whole field with it.

\
Correct:

* **\{{emphasized\_text**_**\_**_**field\}}**



Incorrect:

* \{{partially\_**emphasized\_text**\_field\}}



![](https://2931725216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyec8PpbkRWjBYStjkAcr%2Fuploads%2FsVLfEmWvdGyPw0872fEx%2FScreenshot%202022-03-15%20at%2010.42.50.png?alt=media\&token=3e225ebb-02b4-4b5b-b537-796497ef1223)



\
&#xNAN;**! Please review the existing template files, and make sure they don’t use incorrect syntax. You can download the template file, update the fields in Word and create a new template with correct syntax!**
{% endhint %}

