# Habpanel checkboxes stay unchecked

**URL:** <https://community.openhab.org/t/habpanel-checkboxes-stay-unchecked/57389>\
**Category:** HABPanel\
**Tags:** habpanel, button\
**Created:** [November 20, 2018, 9:20pm UTC](https://community.openhab.org/t/habpanel-checkboxes-stay-unchecked/57389 "2018-11-20T21:20:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomP](https://community.openhab.org/letter_avatar_proxy/v4/letter/t/3da27b/32.png) [@TomP](https://community.openhab.org/u/TomP)\
**Post date:** [November 20, 2018, 9:20pm UTC](https://community.openhab.org/t/habpanel-checkboxes-stay-unchecked/57389/1 "2018-11-20T21:20:54Z")

</div>

After getting a Raspberry Pi0W specfically for OpenHAB, I forgot to migrate my HABPAnel custom templates ☹ Nothing fancy, but I’m trying to recreate them, and I’m stuck. I’m simply trying to get a set of button style checkboxes so I have a way of toggling different items (in/excluding them from a group with rules).

I have this simple example (from the bootstrap 3.3.7 site):

```auto
<div class="btn-group" data-toggle="buttons">
  <label class="btn btn-primary ">
    <input type="checkbox" autocomplete="off"> Checkbox 1 
  </label>
  <label class="btn btn-primary">
    <input type="checkbox" autocomplete="off"> Checkbox 2
  </label>
  <label class="btn btn-primary">
    <input type="checkbox" autocomplete="off"> Checkbox 3
  </label>
</div>

```

It shows the three buttons. I can click them, but they won’t stay pressed down. What am I doing wrong? I’ve tried over different browsers, on different systems…

---

<div class="post-metadata">

**Author:** ![Manbearpig73](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@Manbearpig73](https://community.openhab.org/u/Manbearpig73)\
**Post date:** [November 21, 2018, 10:25am UTC](https://community.openhab.org/t/habpanel-checkboxes-stay-unchecked/57389/2 "2018-11-21T10:25:25Z")

</div>

Try this:

```
<div class="btn-group" role="group" aria-label="Basic example">
  <button type="button" class="btn btn-primary">Left</button>
  <button type="button" class="btn btn-primary">Middle</button>
  <button type="button" class="btn btn-primary">Right</button>
</div>

```
