# Adding checkboxes fields

**URL:** <https://forum.getkirby.com/t/adding-checkboxes-fields/8002>\
**Category:** Questions\
**Tags:** v2\
**Created:** [July 17, 2017, 10:31am UTC](https://forum.getkirby.com/t/adding-checkboxes-fields/8002 "2017-07-17T10:31:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oziris](https://avatars.discourse-cdn.com/v4/letter/o/df788c/32.png) [@Oziris](https://forum.getkirby.com/u/Oziris)\
**Post date:** [July 17, 2017, 10:31am UTC](https://forum.getkirby.com/t/adding-checkboxes-fields/8002/1 "2017-07-17T10:31:54Z")

</div>

Hello  
I’m curently working on a filtering system. I’m using checkboxes, so the user can choose the categories for each project, and it can be filtered with [Isotope](https://isotope.metafizzy.co/). Each filters are displayed into the blueprint like

```
  categories:
    label: Categories
    type: checkboxes
    options:
      typo: Typography
      letter: Lettering
      print: Print
      identity: Identity
      web: Web

```

But I have to consider that additionals checkboxes field could be added later to increase the number of filters. I have think about “tag” field but with this system, we can’t really see the others words.

I’m looking for something like adding a checkbox manually and name it. Something like [Multiselect plugin](https://github.com/distantnative/field-multiselect) but with the posibility to add values. Do you have some advices ?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [July 17, 2017, 10:37am UTC](https://forum.getkirby.com/t/adding-checkboxes-fields/8002/2 "2017-07-17T10:37:04Z")

</div>

Check out dynamic options (in this case, options from another field) in the docs: [https://getkirby.com/docs/cheatsheet/panel-fields/checkboxes](https://getkirby.com/docs/cheatsheet/panel-fields/checkboxes)

This allows you to specify a field (for example in a parent page or in site settings) where you define those options for the checkboxes field.

This also works with the multi-select field.

```auto
fields:
  categories:
    label: Select categories
    type: multiselect
    options: field
    field:
      page: somepage
      name: tags
      separator: ,

```

---

<div class="post-metadata">

**Author:** ![Oziris](https://avatars.discourse-cdn.com/v4/letter/o/df788c/32.png) [@Oziris](https://forum.getkirby.com/u/Oziris)\
**Post date:** [July 17, 2017, 11:06am UTC](https://forum.getkirby.com/t/adding-checkboxes-fields/8002/3 "2017-07-17T11:06:44Z")

</div>

This is interesting, but I would like to let the user named his own checkboxes fields by himself, without any pre-coded list of fields somewhere.  
For example, [List field plugin](https://github.com/TimOetting/kirby-list-field) let the user name each field, but it is not important for me to order them, and I would like to check them instead.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [July 17, 2017, 11:09am UTC](https://forum.getkirby.com/t/adding-checkboxes-fields/8002/4 "2017-07-17T11:09:58Z")

</div>

But that is the whole point of this way to define the options, then the user can define the option somewhere and they are shown as options in the checkboxes or multi-select field?

---

<div class="post-metadata">

**Author:** ![Oziris](https://avatars.discourse-cdn.com/v4/letter/o/df788c/32.png) [@Oziris](https://forum.getkirby.com/u/Oziris)\
**Post date:** [July 17, 2017, 11:30am UTC](https://forum.getkirby.com/t/adding-checkboxes-fields/8002/5 "2017-07-17T11:30:01Z")

</div>

Ahh mhmmm, ok I see what you mean. Yes, this is a possibility, I agree.  
I will use that but it sounds a little tricky to me (you could say to me : “Well, use `tags` directly”) : I keep some regrets that blueprints doesn’t have an option to let user adding any fields.

For example, it could be cool to have a simplified option like `addfield: true` inside the blueprints for each fields types : radio, checkboxes, text, textarea, etc…or maybe I’m off-topic.

Thanks you texnixe

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [July 17, 2017, 11:32am UTC](https://forum.getkirby.com/t/adding-checkboxes-fields/8002/6 "2017-07-17T11:32:34Z")

</div>

> [@Oziris](#):
>
> I keep some regrets that blueprints doesn’t have an option to let user adding any fields.

It doesn’t make sense to let the user add fields. Then the user would have to add code in the templates to output the content of these fields. You wouldn’t want a user to do that. If you want, give them [my code editor plugin](https://github.com/texnixe/kirby-code-editor) and you are in for trouble.

---

<div class="post-metadata">

**Author:** ![onartis](https://avatars.discourse-cdn.com/v4/letter/o/57b2e6/32.png) [@onartis](https://forum.getkirby.com/u/onartis)\
**Post date:** [July 18, 2017, 11:14pm UTC](https://forum.getkirby.com/t/adding-checkboxes-fields/8002/7 "2017-07-18T23:14:11Z")

</div>

The panel code editor looks interesting. Do you have any plans to develop it further, perhaps for Kirby 3?

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:35pm UTC](https://forum.getkirby.com/t/adding-checkboxes-fields/8002/8 "2025-02-06T17:35:14Z")

</div>

Archived on February 6, 2025, 5:35pm UTC


