Automation Editor
...
Forms Overview
Form Actions

Array Data

3min

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:

Document image


The first action emits three names:

Document image


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:

Document image


Next we drop a line container within it:

Document image


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":

Document image


Then for the "await form submission" action, we map the arrays to the text fields:

Document image


When the automation is executed, this is the resulting form:

Document image


When the form is submitted, the "await form submission" action will emit the names and emails as array fields.

Updated 28 Nov 2023
Doc contributor
Did this page help you?