# Custom user field that searches values from a table

**URL:** https://meta.discourse.org/t/custom-user-field-that-searches-values-from-a-table/34700
**Category:** Support
**Tags:** user-custom-fields
**Created:** [20. Oktober 2015 um 00:53 UTC](https://meta.discourse.org/t/custom-user-field-that-searches-values-from-a-table/34700 "2015-10-20T00:53:10Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Ricardo\_Viteri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ricardo_viteri/32/65442_2.png) [@Ricardo\_Viteri](https://meta.discourse.org/u/Ricardo_Viteri)
#### Post date: [20. Oktober 2015 um 00:53 UTC](https://meta.discourse.org/t/custom-user-field-that-searches-values-from-a-table/34700/1 "2015-10-20T00:53:10Z")

</div>

Is it possible to have a user Is it possible to have a custom user field that searches from a databse. Example, create a user field with the name “Country” as the user starts typing the name it searches the country name from a table. This would help in having the same consistent values across different entries.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [20. Oktober 2015 um 01:40 UTC](https://meta.discourse.org/t/custom-user-field-that-searches-values-from-a-table/34700/2 "2015-10-20T01:40:34Z")

</div>

That is not possible at the current time. You could pre fill the values by hand but not automatically from a database table.

---

<div class="post-metadata">

### Author: ![Ricardo\_Viteri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ricardo_viteri/32/65442_2.png) [@Ricardo\_Viteri](https://meta.discourse.org/u/Ricardo_Viteri)
#### Post date: [20. Oktober 2015 um 01:55 UTC](https://meta.discourse.org/t/custom-user-field-that-searches-values-from-a-table/34700/3 "2015-10-20T01:55:58Z")

</div>

Pity, any plans to make this feature available?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [16. November 2018 um 20:41 UTC](https://meta.discourse.org/t/custom-user-field-that-searches-values-from-a-table/34700/4 "2018-11-16T20:41:03Z")

</div>



---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [19. November 2018 um 05:37 UTC](https://meta.discourse.org/t/custom-user-field-that-searches-values-from-a-table/34700/5 "2018-11-19T05:37:37Z")

</div>

Database backed dropdown is out-of-scope for user fields, however we do support dropdown now!

If you need a fancy custom field that looks up data on a route on the server you will need to build a plugin.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [11. September 2021 um 16:48 UTC](https://meta.discourse.org/t/custom-user-field-that-searches-values-from-a-table/34700/6 "2021-09-11T16:48:02Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [7. November 2023 um 07:13 UTC](https://meta.discourse.org/t/custom-user-field-that-searches-values-from-a-table/34700/7 "2023-11-07T07:13:38Z")

</div>

Siehe ähnliche Funktionsanfrage [List of countries dropdown field](https://meta.discourse.org/t/list-of-countries-dropdown-field/138150)
