# AdditionalForm

## AdditionalForm (additionalForm) (1.2.2) (BETA)

This field allows you to dynamically load additional dynamic forms!

[![image-1636544496589.gif](https://docs.intalioservices.com/uploads/images/gallery/2021-11/KbjgOfFcDOgxBfqK-image-1636544496589.gif)](https://docs.intalioservices.com/uploads/images/gallery/2021-11/KbjgOfFcDOgxBfqK-image-1636544496589.gif)

*Example:*

```JSON
{
  "size": "s12 m12",
  "type": "additionalForm",
  "id": "additionalForm",
  "hidden": false,
  "value": "",
  "form_position": null,
  "additional_fields": null,
  "api_add_lang": false,
  "api_watcher": {
    "delay_api": "",
    "fields": [
      {
        "field_id": "additionalFormName",
        "api": "/static/FORMS/API/additionalForms/additionalForm[${value}].json"
      }
    ]
  }
}
```

### Field requires 2 configuration options:

#### additional\_fields

```json
{
  "form_position": 9,
  "additional_fields":
  [
    {
      "size": "s12 m12",
      "type": "text",
      "id": "additional_nazwaOperacji",
      "label": "Nazwa operacji",
      "icon": "person",
      "validate": [
        "required"
      ],
      "hidden": false,
      "value": ""
    },
    {
      "size": "s12 m12",
      "type": "text",
      "id": "additional_opisProblemu",
      "label": "Opis problemu",
      "icon": "subject",
      "validate": [
        "required"
      ],
      "hidden": false,
      "value": ""
    },
    {
      "size": "s12 m12",
      "type": "file",
      "id": "fileField",
      "label": "Załącznik",
      "validate": [
        ""
      ],
      "icon": "attach_file",
      "placeholder": "Załącznik...",
      "hidden": false
    },
    {
      "size": "s12 m12",
      "type": "file",
      "id": "fileField",
      "label": "Załącznik",
      "validate": [
        ""
      ],
      "icon": "attach_file",
      "placeholder": "Załącznik...",
      "hidden": false
    },
    {
      "size": "s12 m12",
      "type": "file",
      "id": "fileField",
      "label": "Załącznik",
      "validate": [
        ""
      ],
      "icon": "attach_file",
      "placeholder": "Załącznik...",
      "hidden": false
    }
  ]
}

```

#### form\_position

index from which new fields are to be added

<p class="callout info">The "additional\_form" mechanism is still in beta, so determining the order of the form may seem difficult.  
...TODO... </p>

### Use cases:

For example, if any selection is to load an additional form from another file, we can use api\_watcher and the additionalForm field.

<p class="callout warning">Dynamically loaded forms currently do not support API dependencies.</p>

### The rest of the available parameters:

<p class="callout info">This field supports all parameters with ["Attributes available for each field".](https://docs.intalioservices.com/books/dynamic-forms---installation-and-administrators-guide/page/attributes-available-for-each-field "Attributes available for each field")</p>