# Pages Field - defining selectable

**URL:** <https://forum.getkirby.com/t/pages-field-defining-selectable/19635>\
**Category:** Questions\
**Created:** [October 4, 2020, 6:15am UTC](https://forum.getkirby.com/t/pages-field-defining-selectable/19635 "2020-10-04T06:15:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![duncanmunro](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@duncanmunro](https://forum.getkirby.com/u/duncanmunro)\
**Post date:** [October 4, 2020, 6:15am UTC](https://forum.getkirby.com/t/pages-field-defining-selectable/19635/1 "2020-10-04T06:15:10Z")

</div>

Is it possible with the Pages Field to specify that only grandchildren (or whatever level) are selectable? I get the full tree as I need but it’s still possible to select the children (eg ‘categories’) when really I just want this level to be navigable only and pages on the next level down to be selectable.

---

<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:** [October 4, 2020, 7:49am UTC](https://forum.getkirby.com/t/pages-field-defining-selectable/19635/2 "2020-10-04T07:49:26Z")

</div>

Yes, the pages field accepts a query, so for example you can filter page.grandchildren

> **[Pages](https://getkirby.com/docs/reference/panel/fields/pages#query-pages)**
>
> A pages select field that allows to select one or multiple related pages

---

<div class="post-metadata">

**Author:** ![duncanmunro](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@duncanmunro](https://forum.getkirby.com/u/duncanmunro)\
**Post date:** [October 4, 2020, 8:26am UTC](https://forum.getkirby.com/t/pages-field-defining-selectable/19635/3 "2020-10-04T08:26:54Z")

</div>

Thank you – yes, there is that, but then you loose the ability to navigate by the child layer – all the grandchildren get lumped together. My question is that is there a way to still display the child layer but only select the grandchildren.  
This isn’t it but something like:

```
mypages:
  type: pages
  query: children
  selectonly: grandchildren
```

---

<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:** [October 4, 2020, 8:39am UTC](https://forum.getkirby.com/t/pages-field-defining-selectable/19635/4 "2020-10-04T08:39:54Z")

</div>

I see what you mean, but no, this is not possible out of the box. You could create a custom implementation of this field.
