RepeatableSetElement: FormElementBase & {
    addSetEntryLabel?: string;
    layout?: "SINGLE_ADD_BUTTON" | "MULTIPLE_ADD_BUTTONS";
    maxSetEntries?: number | {
        elementId: string;
        type: "FORM_ELEMENT";
    };
    minSetEntries?: number | {
        elementId: string;
        type: "FORM_ELEMENT";
    };
    removeSetEntryLabel?: string;
    type: "repeatableSet";
} & _NestedElementsElement & FormElementReadOnly

An element to allow the user to create multiple entries. The data captured in each entry is based on the form elements in the elements array.

The element must have an id property that contains a universally unique identifier (UUID). The identifier must be a Version 4 (V4) UUID and must conform to the formatting requirements defined in this RFC 9562 specification: https://www.rfc-editor.org/rfc/rfc9562.html

Type declaration

  • OptionaladdSetEntryLabel?: string
  • Optionallayout?: "SINGLE_ADD_BUTTON" | "MULTIPLE_ADD_BUTTONS"

    Select how the repeatable set buttons render. SINGLE_ADD_BUTTON will include a single button at the end of the repeatable set to add a new entry. MULTIPLE_ADD_BUTTONS will show an add button between each entry and move the delete button to the bottom of each entry

  • OptionalmaxSetEntries?: number | {
        elementId: string;
        type: "FORM_ELEMENT";
    }
  • OptionalminSetEntries?: number | {
        elementId: string;
        type: "FORM_ELEMENT";
    }
  • OptionalremoveSetEntryLabel?: string
  • type: "repeatableSet"