Array Data
A form can receive array data as input and display it.
For this example, we will use the Transform Data "parse array elements from text" action to emit some sample array data consisting of names and email addresses:
The first action emits three names:
Simlarly, the second action emits three email addresses.
In the form design, we start by adding a multi-input container and configure it to not allow lines to be added, removed, or sorted:
Next we drop a line container within it:
Then design how you want each line to appear. For this example, we will just have two text entry fields side-by-side with a horizontal space between them. The first text entry is named "name" for the person's name and the second is named "email":
Then for the "await form submission" action, we map the arrays to the text fields:
When the automation is executed, this is the resulting form:
When the form is submitted, the "await form submission" action will emit the names and emails as array fields.