> For the complete documentation index, see [llms.txt](https://help.docupilot.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.docupilot.app/document-template/fillable-pdf.md).

# Fillable PDF

With Docupilot, you can automate a fillable PDF document. Docupilot attempts to use field names and other properties from the underlying PDF field to create the token. You'll need to use a PDF editing software program like Nitro Pro and Adobe, PDFescape to create a fillable PDF.

![Example Fillable PDF](/files/-M6epJm9QYMxHmZwRFuy)

{% file src="/files/-M6eooG6nbOC3T5LHBXt" %}
Example Fillable PDF
{% endfile %}

**Checkbox**, **Radio** fields in the PDF has an "On" value or an "Export" value. When the value that you are passing matches this "On" value, the checkbox will be checked.

![Export Value](/files/-M6fD2UQM3xCbHKRTtdC)

{% hint style="warning" %}
The Export value for a checkbox is limited to 125 characters
{% endhint %}

### Uploading Fillable PDF to Docupilot

Once you have the PDF created, you can upload it to Docupilot and the fields are recognized automatically. If you need to make any changes, make the changes in your PDF editor, then upload the PDF to Docupilot.

### Editing a Fillable PDF

Fillable PDFs templates can be edited and customised using a paid version of Adobe Acrobat or some free tools like PDFEscape, etc.

> *Note that the 3rd party tools mentioned here are merely a suggestion. We strongly advise you to choose the tools after thoroughly reading relevant legal documentation of how these tools use/manage your data.*

### Flatten PDF

By default the fillable fields are removed in the generated PDF. You can preserve the generated PDF as a fillable PDF itself. You can goto the templates preferences section and uncheck the flatten pdf option as shown in the image below.

{% hint style="warning" %}
Save the changes after updating the preferences.
{% endhint %}

![Flatten PDF settings](/files/rlqttkLmExmeRnGDEIIX)

### Embed Images/Signature images

You can goto template preferences -> More options -> under insert dynamic images you can enter the width, height, and location of the image in the PDF. You need to pass a image url for the token fields to insert the image in the PDF.

![Dynamic Images settings](/files/E1KHkXNeB192Kj1bHaGP)

![xDynamic Images settings values](/files/dGQxZeHin3i4OS4Iq7HU)

{% hint style="info" %}
&#x20;The image URL need to be publicly accessible so we can download and insert it in the document.
{% endhint %}

## Editing a PDF Document

To edit fillable PDF templates, consider using software like Adobe Acrobat. This allows you to modify text, insert signature fields (e.g., `\s1\`), or add new fillable fields. For a no-cost alternative, [PDFEscape](https://www.pdfescape.com/) is a viable option for making changes to PDF templates.

<figure><img src="/files/kY3Mj4e21ttsPv5n4uwu" alt=""><figcaption><p>Example: Adding a Text Form Field in a PDF document.</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.docupilot.app/document-template/fillable-pdf.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
