1. Fields
  2. Array Builder Field

Fields

Array Builder Field

Used to create an array field.

See arrays for a fundamental understanding of array data structures.

Basic usage

Adds an arraybuilder field to the fields of an action.

You can specify the field type of new entries, this can be almost any field type in Stubber. See examples for advanced cases.

loading...

Parameters

See fields for common parameters.

new_entry_field

optional
object

This parameter specifies which field should be used to generate a single array value. It is a field specification of its own, and can be used to generate values of any field type.


Result

Preview of a array field in a form

Examples

The new_entry_field parameter is here set to section. This means that each item in the array will be an object, containing all of the nested fields in the section field.

loading...

Resultant array:

loading...