Embedding merge fields into a PDF template

A merge field is a named placeholder that Inkit replaces with data when generating a document.

Add and configure a field

  1. Create a PDF template, or open an existing PDF template in the editor.
  2. Select the page you want to edit, then open Merge Fields in the toolbar.
  3. Drag Textbox or Checkbox onto the PDF.
  4. Select the placed field and choose Edit to open its properties.
  5. Enter a Field Name, such as effective_date. Use this same name when providing merge data.
  6. For a textbox, configure the font, size, alignment, and color. Move and resize the field on the PDF so its value fits the intended space.
Textbox merge-field properties in the PDF editor

Textbox merge-field properties in the PDF editor — local demonstration using production code and fictional example data.

Save and preview

  1. Click Save in the editor.
  2. Click Preview to open Fill Out Merge Fields.
  3. Enter a sample value for each field, then click Preview in the panel.
  4. Check the rendered text for position, size, and clipping. Return to editing if you need to adjust the field, then save again.
Rendered preview with an effective_date value

Rendered preview with an effective_date value — local demonstration using production code and fictional example data.

Preview values let you check the output; the template retains its named merge fields for later document generation.


Did this page help you?