# Adding markup to element templates

**URL:** <https://forum.bpmn.io/t/adding-markup-to-element-templates/11026>\
**Category:** Modeler\
**Created:** [May 19, 2024, 8:43am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026 "2024-05-19T08:43:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jurgenhaas](https://forum.bpmn.io/user_avatar/forum.bpmn.io/jurgenhaas/32/3207_2.png) [@jurgenhaas](https://forum.bpmn.io/u/jurgenhaas)\
**Post date:** [May 19, 2024, 8:43am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026/1 "2024-05-19T08:43:04Z")

</div>

Is it possible to add some markup to element templates, e.g. to provide some instructions or help information to the user, when that template gets displayed in the property panel?

---

<div class="post-metadata">

**Author:** ![philippfromme](https://forum.bpmn.io/user_avatar/forum.bpmn.io/philippfromme/32/2803_2.png) [@philippfromme](https://forum.bpmn.io/u/philippfromme)\
**Post date:** [May 21, 2024, 8:35am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026/2 "2024-05-21T08:35:44Z")

</div>

You can use the `description` field for that purpose:

```json
{
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
  "name": "Description Test",
  "id": "description-test",
  "appliesTo": [
    "bpmn:Task"
  ],
  "properties": [
    {
      "value": "Foobar name",
      "binding": {
        "type": "property",
        "name": "name"
      },
      "description": "Foobar description"
    }
  ]
}

```

The result will be a description below the field:

![image](https://forum.bpmn.io/uploads/default/original/2X/6/68cb0ad9f57b836eb1c5c7653549986b4931e7f7.png)

---

<div class="post-metadata">

**Author:** ![jurgenhaas](https://forum.bpmn.io/user_avatar/forum.bpmn.io/jurgenhaas/32/3207_2.png) [@jurgenhaas](https://forum.bpmn.io/u/jurgenhaas)\
**Post date:** [May 21, 2024, 9:01am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026/3 "2024-05-21T09:01:59Z")

</div>

Thanks @philippfromme I know about the description, but I’m looking for some markup which doesn’t belong to a specific field.

---

<div class="post-metadata">

**Author:** ![philippfromme](https://forum.bpmn.io/user_avatar/forum.bpmn.io/philippfromme/32/2803_2.png) [@philippfromme](https://forum.bpmn.io/u/philippfromme)\
**Post date:** [May 21, 2024, 9:03am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026/4 "2024-05-21T09:03:21Z")

</div>

Where would you expect that markup to appear? Maybe we can turn this into a feature request.

---

<div class="post-metadata">

**Author:** ![jurgenhaas](https://forum.bpmn.io/user_avatar/forum.bpmn.io/jurgenhaas/32/3207_2.png) [@jurgenhaas](https://forum.bpmn.io/u/jurgenhaas)\
**Post date:** [May 21, 2024, 9:08am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026/5 "2024-05-21T09:08:18Z")

</div>

Just like a field, but without a widget for text, drop-down or checkbox.

---

<div class="post-metadata">

**Author:** ![nikku](https://forum.bpmn.io/user_avatar/forum.bpmn.io/nikku/32/5130_2.png) [@nikku](https://forum.bpmn.io/u/nikku)\
**Post date:** [May 22, 2024, 8:28am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026/6 "2024-05-22T08:28:36Z")

</div>

@jurgenhaas Would be great if you could share a mock-up of your idea. What exactly do you want to accomplish? Why does it matter in your use-case? How do you look to integrate the help text into the UI?

---

<div class="post-metadata">

**Author:** ![jurgenhaas](https://forum.bpmn.io/user_avatar/forum.bpmn.io/jurgenhaas/32/3207_2.png) [@jurgenhaas](https://forum.bpmn.io/u/jurgenhaas)\
**Post date:** [May 22, 2024, 9:08am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026/7 "2024-05-22T09:08:31Z")

</div>

Here is an example of an applied event template in the property panel. That event has 5 properties, 3 of which have a description.

On the top of the custom properties, we would like to display some extra information. In this case, it’s about tokens which are provided by this event. Other templates may have no such extra info, or some don’t have any properties, but still some extra information.

Does that make sense?

![2024-05-22_11-00](https://forum.bpmn.io/uploads/default/original/2X/1/1732f942f098833729ce15f1e3c45ac31f4dc78c.jpeg)

---

<div class="post-metadata">

**Author:** ![jurgenhaas](https://forum.bpmn.io/user_avatar/forum.bpmn.io/jurgenhaas/32/3207_2.png) [@jurgenhaas](https://forum.bpmn.io/u/jurgenhaas)\
**Post date:** [May 22, 2024, 9:10am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026/8 "2024-05-22T09:10:29Z")

</div>

In Drupal’s form API, this is e.g. handled such that we have field types similar to the property panel, e.g. text, checkbox, select, etc. And there is a type called `markup` which allows arbitrary HTML markup to be provided and that’s rendered within the form just as if it were a form field as well.

---

<div class="post-metadata">

**Author:** ![barmac](https://forum.bpmn.io/user_avatar/forum.bpmn.io/barmac/32/974_2.png) [@barmac](https://forum.bpmn.io/u/barmac)\
**Post date:** [July 9, 2025, 10:10am UTC](https://forum.bpmn.io/t/adding-markup-to-element-templates/11026/9 "2025-07-09T10:10:46Z")

</div>

Closed on July 9, 2025, 10:10am UTC

Closing old topics.
