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.

HTML

This component allows you to integrate HTML elements directly into a form.

Configuration

For general configuration options, see General Component Configuration.

Specific Configuration

value (string)

The content is parsed as HTML and displayed accordingly. Data binding should be used.

Example

html.json
{
  "$schema": "https://forms.virtimo.net/4.1.x/schema.json",
  "metaData": {
    "id": 0,
    "version": 0
  },
  "configuration": {
  },
  "components": [
    {
      "type": "container",
      "label": "HTML Component Example",
      "components": [
        {
          "type": "html",
          "value": "'One element with Data binding:' + /data/input + /data/paragraph"
        },
        {
          "type": "html",
          "value": "/data/secondHTML"
        },
        {
          "type": "textfield",
          "label": "Input for first html Element",
          "value": "/data/input"
        }
      ]
    }
  ],
  "state": {
    "data": {
      "input": "",
      "paragraph": "<p> A whole paragraph </p>",
      "secondHTML": "Before paragraph.<p>Another <b>important</b> element inside a paragraph.</p> After paragraph."
    }
  }
}
Embedded preview

Keywords: