Die BPC Version 4.1 wird nicht mehr gewartet.

Sollten Sie diese BPC Version nutzen, empfehlen wir Ihnen eine Migration auf eine aktuelle Version. Die Dokumentation zur neusten BPC Version finden Sie hier. Sollten Sie Fragen haben, wenden Sie sich bitte an unseren Support.

Checkbox

This component represents a checkbox that can take two values.

Configuration

For general configuration options, see General Component Configuration.

Specific Configuration

value (string)

Value of the checkbox. The value should be bound via data binding.

Example

checkbox.json
{
  "$schema": "https://forms.virtimo.net/4.1.x/schema.json",
  "metaData": {
    "id": 0,
    "version": 0
  },
  "configuration": {
  },
  "components": [
    {
      "type": "container",
      "label": "Checkbox Component Example",
      "components": [
        {
          "type": "checkbox",
          "label": "My Checkbox",
          "value": "/data/checkboxes/one"
        },
        {
          "type": "checkbox",
          "label": {
            "de": "Kästchen",
            "en": "Checkbox"
          },
          "value": "/data/checkboxes/two"
        },
        {
          "type": "checkbox",
          "label": "Third Box",
          "value": "/data/checkboxes/three"
        }
      ]
    }
  ],
  "state": {
    "data": {
      "checkboxes": {
        "one": true,
        "two": false,
        "three": true
      }
    }
  }
}
Embedded preview

Keywords: