Set dynamic area
Replace what a dynamic area on the form shows with new fields, e.g. one line per invoice found. Their answers are read like any other field.
Command in the Interactive forms toolkit · id ooa.forms/dynamic_area · 5 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Name | String | Yes | Name of the open form (by default the form's id, as given when it was displayed). | |
| Element | String | Yes | Id of a dynamic area on the form. | |
| Fields | List | No | Fields as Dictionaries with id, type (text, number, checkbox, dropdown, paragraph, button ...), label and optionally options, default, required, read_only, tooltip. | |
| How | String | No | replace | G1 (AA parity): replace the area's fields, add these after them, or empty the area. |
| Height | Number | No | G1 (AA parity): the area's height in pixels; more fields then scroll inside it. As tall as its fields when empty. |
Outputs
| Output | Type | What it is |
|---|---|---|
| count | Number | Number of fields now in the area. |