---
title: "form.listFields: List form fields — PDF kit command — Kition"
description: "Every interactive form field: name, type (text, checkbox, radio, combo, list, button, signature), value, options, page, rect (top-left-origin points) and rotation (0, 90, 180 or 270 degrees counterclockwise) of its first widget, read-only and required flags, font_size (0: auto), and widgets: every widget's page, rect, rotation, tab (its place in the document's tab order), appearance (whether it has one to show) and, for check boxes and radio buttons, its export value and whether it is on."
canonical: "https://developer.kition.ai/docs/kits/pdf/commands/form.listFields"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/pdf/commands/form.listFields](https://developer.kition.ai/docs/kits/pdf/commands/form.listFields)

# form.listFields

**List form fields.** Every interactive form field: name, type (text, checkbox, radio, combo, list, button, signature), value, options, page, rect (top-left-origin points) and rotation (0, 90, 180 or 270 degrees counterclockwise) of its first widget, read-only and required flags, font_size (0: auto), and widgets: every widget's page, rect, rotation, tab (its place in the document's tab order), appearance (whether it has one to show) and, for check boxes and radio buttons, its export value and whether it is on.

- Kit: PDF 0.1.0 (.pdf); reference: [PDF kit commands](https://developer.kition.ai/docs/kits/pdf.md)
- Changes the document: no

## Parameters

None.

## Call through pdf_run

```text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "form.listFields" }]
}
```

The required parameters, with placeholders for their types: not a tested example. pdf_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `count` | `number` | no |  |
| `fields` | `any[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "count": {
      "type": "number"
    },
    "fields": {
      "type": "array"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/pdf-darwin-arm64@0.1.0 and the kit itself (pdf_commands through @kition/cli@0.1.1, built from KitionAI/kition-pdf@b0d2725).
