Template fields
Template fields are the blanks in your document templates. Each field has a key, a type and, optionally, a rule for what counts as a valid answer. Define them once and every template can use them.
Add a field
Section titled “Add a field”Go to Settings → Document templates → Template fields and select Create template field.
| Input | What it does |
|---|---|
| Key | The field’s name inside a template. Required. |
| Type | Text, Long text, Country select, Date, Yes/No, Number or Dropdown |
| Short description | A short hint shown next to the field, up to 50 characters |
| Long description | A fuller explanation for whoever fills the document |
| Validation rule | A regular expression the answer must match |
| Default value | The value the field starts with |
| Allowed values | For Dropdown fields, the list of choices |
| Allow multiple values | Lets a Dropdown field hold more than one choice |
| Required | The document cannot be completed until the field is filled |
The key is the only required input, though a Dropdown also needs at least one allowed value. The key may contain letters, numbers and dots; spaces and other characters are rejected. Keys must be unique, and saving a duplicate key returns Key already exists.
Built-in fields
Section titled “Built-in fields”Some fields are part of the product rather than created by you. They come from the case, the client, the organization, the employee filling the document and the generation date. In the Template fields table they carry a Built-in badge and cannot be edited or deleted.
Built-in fields are read-only in a template: you can place them in a document and they are filled automatically, but nobody types over them.
Dropdown fields
Section titled “Dropdown fields”A Dropdown field needs at least one allowed value. Add values one at a time; choose whether the field accepts one value or several. When someone fills the document, only the allowed values are offered, which keeps answers consistent across cases.
Visibility conditions
Section titled “Visibility conditions”Headings in a template body can be shown or hidden depending on an answer. Put the cursor in a heading, open its visibility conditions, and build one or more condition groups. Each condition compares a field with an operator such as is filled, is empty, equals, is one of or greater than. Combine conditions with AND or OR and save.
This is useful for optional clauses: include a paragraph about a guarantee only when the guarantee field is set to yes.
Continue with Document templates to place fields in a document, or Generate and fill documents to see the result.