# Use tag field to select specific pages

**URL:** https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402
**Category:** Questions
**Created:** [January 8, 2018, 4:00pm UTC](https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402 "2018-01-08T16:00:22Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![thewebprojects](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thewebprojects/32/10107_2.png) [@thewebprojects](https://forum.getkirby.com/u/thewebprojects)
#### Post date: [January 8, 2018, 4:00pm UTC](https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402/1 "2018-01-08T16:00:22Z")

</div>

Hi. I need a quick hand. How the heck can I get the tag field to autocomplete/suggest specific pages? Thanks.

---

<div class="post-metadata">

### Author: ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)
#### Post date: [January 8, 2018, 4:15pm UTC](https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402/2 "2018-01-08T16:15:20Z")

</div>

Can you give a little more context? whats the desired end result? is this to do a “similar/related” pages list on the front end? Does[this](https://github.com/texnixe/kirby-related-pages) help?

---

<div class="post-metadata">

### Author: ![thewebprojects](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thewebprojects/32/10107_2.png) [@thewebprojects](https://forum.getkirby.com/u/thewebprojects)
#### Post date: [January 8, 2018, 5:10pm UTC](https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402/3 "2018-01-08T17:10:22Z")

</div>

Thanks for the quick reply.

I have a team section that includes individual pages for team members (each member has a page).

I want to include a tag field so I can select one or more team members. So I’d like the tag field to autocomplete based on the title of any given team member page. So the index: children of ‘team’ page sort of.

---

<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: [January 8, 2018, 5:18pm UTC](https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402/4 "2018-01-08T17:18:42Z")

</div>

Without a custom tags field, that’s not really possible. Or it only works once several team members have already been added to other pages.

What about the [relationship field](https://github.com/olach/kirby-relationship)?

---

<div class="post-metadata">

### Author: ![thewebprojects](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thewebprojects/32/10107_2.png) [@thewebprojects](https://forum.getkirby.com/u/thewebprojects)
#### Post date: [January 8, 2018, 5:23pm UTC](https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402/5 "2018-01-08T17:23:02Z")

</div>

Yep. Those suggested plugins would solve the issue. I was looking for a solution without relying on a plugin.

I suppose checkboxes or the select field in a structure would do it.

---

<div class="post-metadata">

### Author: ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)
#### Post date: [January 8, 2018, 5:25pm UTC](https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402/6 "2018-01-08T17:25:13Z")

</div>

The [field toggle](https://github.com/medienbaecker/kirby-fieldtoggle) plugin in might be useful also. For example, if you had radios for the team names, you can then show or hide a user field or use [multiselect](https://github.com/distantnative/field-multiselect) for each team members based on the selection. This way you can keep the UI tidy.

---

<div class="post-metadata">

### Author: ![thewebprojects](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thewebprojects/32/10107_2.png) [@thewebprojects](https://forum.getkirby.com/u/thewebprojects)
#### Post date: [January 8, 2018, 5:31pm UTC](https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402/7 "2018-01-08T17:31:28Z")

</div>

Thanks again for your input.

In this case, because I’d rather not rely on plugins (it’s a thing I probably need to overcome), I’m going to setup 2 selects that query the children of the team page. I know that the client only needs to select up to 2 members for this given record. I’ll give 'em the width: 1/2 and that’ll look tidy.

---

<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: [January 8, 2018, 5:32pm UTC](https://forum.getkirby.com/t/use-tag-field-to-select-specific-pages/9402/8 "2018-01-08T17:32:32Z")

</div>

If you want it to be more flexible, use a structure field with a select.
