> Dea 0.9.9 documentation.
> Canonical page: https://dea.dardanica.app/docs/guides/forms/
> Documentation index: https://dea.dardanica.app/llms.txt

# Fill forms and transfer data

Dea can fill ordinary fields, native selects, checkboxes, rich editors, and file inputs using browser input. The agent should inspect the form before choosing fields and verify what the application actually accepted.

## Fill a form by its labels

Ask for the fields and the stopping point explicitly:

```text
Use Dea to fill the contact form in the current tab:
Name: Alex Example
Email: alex@example.com
Message: Please send the product guide.
Leave the form ready for me to review before submitting.
```

The agent can use `fill_form` once with a map of observed labels to values. Filling is separate from submitting. Use dummy values only on a test form where they are appropriate.

For a single field, `type_text` accepts either its accessible label or a discovered selector/reference. Use exactly one of `label` and `selector`. Labels are resolved afresh, which is useful for forms that rerender.

## Rich editors and custom controls

If typed text appears on screen but the app has not committed it, `paste_text` uses a real paste event and `blur` can trigger field commit. Inspect the actual control value and the application's visible state before continuing.

`select_option` is for a native HTML select. A custom combobox needs ordinary clicks and an observed option. Use `upload_file` with a real local file path for attachment inputs; the path is on the computer running Dea.

For fields inside an iframe, discover the frame and pass `frame` with a selector inside it. Hosted-frame single-field fills currently require `selector`, rather than label-based targeting. Open shadow-root controls can be addressed with returned references or `host >>> child` selectors.

## Repeat already-decided steps

Use `batch` for a known sequence or repeated records. `rows` supplies exact string values to `{{field}}` placeholders; it is mutually exclusive with `times`. A batch supports at most 20 steps per iteration, 25 iterations, and 200 total actions including setup.

Batching does not make decisions from intermediate page content. If a row needs interpretation or a new choice, stop, read the result, and decide before continuing. Keep the default stop-on-error behavior when later actions depend on earlier ones.

`table_batch` transfers a rendered HTML table into a known form workflow. Its source table and columns must be observed first. It validates extracted records before row actions and reports the stage that failed.

## Verify a submission

After an authorized submission, look for a confirmation, resulting record, or successful application response. Capture network before the action when the response is needed.

If a tool reports a timeout after a click, the click may already have happened. Inspect the page and any resulting records before retrying. Repeating a submission can create duplicates.

For passwords, one-time codes, or payment details that only the person can supply, use the [human handoff](https://dea.dardanica.app/docs/privacy/#hand-control-to-the-person).
