Field Set

This component is a special Container and therefore also a "collective component" for other components.

Configuration

For general configuration options, see General component configuration.

Specific configuration

layout (string)

Alignment of the content. Possible values are vertical and horizontal.

Example

fieldset.json
{
  "$schema": "http://bpc.virtimo.net/forms/1/schema",
  "metaData": {
    "id": 0,
    "version": 0
  },
  "configuration": {
  },
  "components": [
    {
      "type": "fieldset",
      "layout": "horizontal",
      "label": "Horizontal fieldset",
      "components": [
        {
          "type": "html",
          "value": "First element in horizontal fieldset"
        },
        {
          "type": "html",
          "value": "Second element in horizontal fieldset"
        },
        {
          "type": "fieldset",
          "layout": "vertical",
          "label": "Vertical fieldset",
          "components": [
            {
              "type": "html",
              "value": "First element in vertical fieldset"
            },
            {
              "type": "html",
              "value": "Second element in vertical fieldset"
            }
          ]
        }
      ]
    }
  ]
}
Embedded preview

Keywords: