> For the complete documentation index, see [llms.txt](https://help.smallbuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smallbuilder.com/smallbuilder-documents/data-merge/data-merge-text.md).

# Data Merge - Text

Inserting data from another object into a text field

1. Click the Component's settings icon, or\
   click on the Component as displayed in the Canvas, or\
   go to the Component Settings panel.

***

<div align="left"><figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FuxzNIra33OAAvYGC2onl%2F20250423_104907.png?alt=media&amp;token=20590047-b4df-4bcb-90d0-32b8812858f5" alt=""><figcaption></figcaption></figure></div>

2. Position the cursor where you want to insert the merged field.

***

<div align="left"><figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FOXGan31C0seyW1OnEnB0%2F20250423_104955.png?alt=media&amp;token=4355c8d4-3143-4d46-b33d-ca89cc119990" alt=""><figcaption></figcaption></figure></div>

3. Click the `field` button.

***

<div align="left"><figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FpTIc9hpx0ElWg7RGv01g%2F20250423_105036.png?alt=media&amp;token=f163556a-6984-4208-9b68-2dc67522c1bc" alt=""><figcaption></figcaption></figure></div>

4. Select the desired field.

***

<div align="left"><figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FqAwpmsQmYrs1pfEXFRBd%2F20250423_105116.png?alt=media&amp;token=d8204caa-205d-4d86-a372-05a323c514c6" alt=""><figcaption></figcaption></figure></div>

5. The merged field will be inserted at the cursor's position, in the form `{{!label}}`. This will be replaced with the data from the field when the document is generated. You can check this by using the **Preview** function and choosing a record to generate the document for.
