1003

Adding a repeating field

976

Editing a repeating field

{
  "name": "repeating_fieldset",
  "label": "Repeating Fieldset",
  "class": "repeater",
  "fields": [
    [
      {
        "name": "repeating_text_field",
        "label": "Repeating Text Field",
        "class": "text",
        "value": "Repeater 1"
      },
      {
        "name": "sub_repeating_fieldset",
        "label": "Sub-repeating Fieldset",
        "class": "repeater",
        "fields": [
          [
            {
              "name": "text_field",
              "label": "Text Field",
              "class": "text",
              "value": "Sub-repeater 1a"
            }
          ],
          [
            {
              "name": "text_field",
              "label": "Text Field",
              "class": "text",
              "value": "Sub-repeater 1b"
            }
          ]
        ]
      }
    ],
    [
      {
        "name": "repeating_text_field",
        "label": "Repeating Text Field",
        "class": "text",
        "value": "Repeater 2"
      },
      {
        "name": "sub_repeating_fieldset",
        "label": "Sub-repeating Fieldset",
        "class": "repeater",
        "fields": [
          [
            {
              "name": "text_field",
              "label": "Text Field",
              "class": "text",
              "value": "Sub-repeater 2a"
            }
          ],
          [
            {
              "name": "text_field",
              "label": "Text Field",
              "class": "text",
              "value": "Sub-repeater 2b"
            }
          ],
          [
            {
              "name": "text_field",
              "label": "Text Field",
              "class": "text",
              "value": "Sub-repeater 2c"
            }
          ]
        ]
      }
    ]
  ]
}

See more information on this field.