List
3 min
the list element is a powerful repeating container that allows users to add, edit, and remove multiple structured items within a single form each list item shares the same field structure (defined by child elements), making it perfect for collecting variable length datasets β like line items, team members, contact entries, or any repeating data group the list is highly configurable you can set minimum and maximum item counts, control whether users can add or remove rows (canadd / canremove), and customize the add button label data can come from a static definition, json, or a live url endpoint β and the full array of item values is accessible at runtime via value, ready to flow directly into process variables the special $item and $fields event context variables give you access to the currently active item and its fields when responding to per row events, enabling row level logic like validating a specific entry or triggering a process for an individual line item key use cases β’ purchase order line items β product, quantity, unit price, total per row β’ team member entry β name, role, email for each person on a project β’ dynamic checklists β user adds tasks, marks them complete, removes irrelevant ones β’ pre populating a list from a process variable (json array) on form load β’ enforcing a minimum of 1 and maximum of 10 items using min and max runtime api β attributes in procesio forms all attributes below are accessible and modifiable at runtime via the element's data model in procesio forms β including $item and $fields context variables available within per row events api name description type default notes label display label for the list string β β tooltip help text shown alongside the label string β β readonly if true, existing items cannot be edited boolean false β visible controls element visibility boolean true β value the full array of list item values β read or set at runtime any\[] \[] β sourcetype how initial data is loaded string β json, url sourcevalue the data source value for pre populating items string|any β β addmultiplefields allows adding multiple field groups per item boolean β β min minimum number of items required number|null β β max maximum number of items allowed number|null β β canadd whether the user can add new items boolean β β canremove whether the user can remove items boolean β β addbuttontext custom label for the add item button string β β $item current item object β available in per row events any β event context variable $fields current item's fields object β available in per row events any β event context variable name unique element name string β β id unique element id string β β for support, please join our https //discord com/invite/cebukgjefv for further assistance and support
