---
title: "FieldAction"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/fieldaction/"
---

# FieldAction

```ts
type FieldAction = FieldActionJs;
```

Defined in: [packages/sdk/src/types.ts:1482](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L1482)

One action of a form field, as typed data, with what fires it (`trigger`: `"click"` for a push
button's press, and the pointer and focus triggers; `"other"` for one this version doesn't
know). Lamina PDF runs no action: the reader runs the safe ones and says what it didn't run.
`action.type` is `"goTo"`, `"named"`, `"uri"`, `"resetForm"` (with the `fields` it resets),
`"hide"` (`targets`, and whether it `hide`s them or shows them), `"submitForm"` (ask
[Document.submitRequest](/reference/sdk/classes/document.md#submitrequest) for what it would send) or one that is never run: `"importData"`,
`"javaScript"`, `"launch"`, `"goToR"`, `"goToE"` and `"other"`.

## Since

0.7.0
