Skip to main content

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​

InputTypeRequiredDefaultWhat it is
NameStringYesName of the open form (by default the form's id, as given when it was displayed).
ElementStringYesId of a dynamic area on the form.
FieldsListNoFields as Dictionaries with id, type (text, number, checkbox, dropdown, paragraph, button ...), label and optionally options, default, required, read_only, tooltip.
HowStringNoreplaceG1 (AA parity): replace the area's fields, add these after them, or empty the area.
HeightNumberNoG1 (AA parity): the area's height in pixels; more fields then scroll inside it. As tall as its fields when empty.

Outputs​

OutputTypeWhat it is
countNumberNumber of fields now in the area.