> ## Documentation Index
> Fetch the complete documentation index at: https://developer.pdf.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Form Field

> Integrate this step into your Zapier workflow to add form fields to PDF documents, enhancing interactivity and data collection capabilities.

<Frame>
  <img src="https://mintcdn.com/pdfco/tXGo3rbTS_pEF5es/images/integrations/zapier/zapier-step1.png?fit=max&auto=format&n=tXGo3rbTS_pEF5es&q=85&s=f362172e86592913e0db21b1b9112ae8" alt="Zapier Step" width="2205" height="2174" data-path="images/integrations/zapier/zapier-step1.png" />
</Frame>

## Input

| Name | Description | Required |
| - | - | - |
| **Source PDF URL** | Provide the URL to the source PDF document, or a `filetoken://` link from [PDF.co Built-In Files Storage](https://app.pdf.co/files). If you use another cloud service such as **Google Drive** or **Dropbox** ensure the link is publicly accessible. | Yes |
| **Id** | Assign an ID to the form field. | Yes |
| **X Co-ordinate** | Specify the X coordinate for form field placement. Use the [PDF.co tool](https://app.pdf.co/pdf-edit-add-helper) to find `X` and `Y` coordinates. | Yes |
| **Y Co-ordinate** | Specify the Y coordinate. Assistance for coordinates can be found using the [PDF.co tool](https://app.pdf.co/pdf-edit-add-helper). | Yes |
| **Type** | Define the field type, such as TextField or Checkbox. | Yes |
| **Initial Value** | Set an initial value for the field. For checkboxes, use values like `X`, `true`, or `1` to mark them as checked. | No |
| **Size** | Define the field size, overriding initial settings. | No |
| **Pages** | Enter the page numbers (or ranges) from where the form field should be added. Leave empty to process all pages. The first page is `0`. Example: `0,2-5,7-`. | No |

### Source PDF URL & Google

<Note>
  When using **Google Drive**, it’s typically recommended to choose the **File** option. For more advanced file integration techniques, see [Integrating File Sources with pdf.co](/integrations/zapier/input-file-sources).

  <Frame>
    <img src="https://mintcdn.com/pdfco/tXGo3rbTS_pEF5es/images/integrations/zapier/zapier-google-input-source.png?fit=max&auto=format&n=tXGo3rbTS_pEF5es&q=85&s=8e304dac8851d0b17c9500f25c2d41c8" alt="Google File" width="819" height="102" data-path="images/integrations/zapier/zapier-google-input-source.png" />
  </Frame>
</Note>

## Output

| Name | Description |
| - | - |
| `url` | The temporary **URL** on the **PDF.co** file server. |
| `outputLinkValidTill` | A timestamp which indicates how long the `url` will be available for. |
| `error` | Details of any errors (if any). |
| `status` | The [response status](/api/introduction) code. If all good this will be `200`. |
| `name` | The name of the file. |
| `jobId` | The unique identifier for the job. |
| `credits` | The credits spent on the process. |
| `remainingCredits` | The credits left on your account. |
| `duration` | The time it took for the process. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.