# Lookup by letters and not by words

**URL:** <https://forum.kintone.dev/t/lookup-by-letters-and-not-by-words/121>\
**Category:** General\
**Created:** [June 23, 2019, 7:46pm UTC](https://forum.kintone.dev/t/lookup-by-letters-and-not-by-words/121 "2019-06-23T19:46:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [June 23, 2019, 7:46pm UTC](https://forum.kintone.dev/t/lookup-by-letters-and-not-by-words/121/1 "2019-06-23T19:46:36Z")

</div>

Hello, I need to make a lookup field by letters and not by words. For example, if I have the records “apple”, “app” and “name”. If I type “ap”, I should get “apple” and “app”, but I am getting no records. Thanks

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [June 24, 2019, 9:20pm UTC](https://forum.kintone.dev/t/lookup-by-letters-and-not-by-words/121/2 "2019-06-24T21:20:19Z")

</div>

Hello Mauri!

Due to the search(lookup) restrictions in Kintone, you can only search by a word. It does not search for partially matching search keywords as mentioned in the following page:

&nbsp;Using the Search Bar: Precautions When Entering Search Keywords(this search rule applies to the lookup too)  
[https://get.kintone.help/k/en/user/search/search\_details.html](https://get.kintone.help/k/en/user/search/search_details.html)

As of now, if you are considering creating a JS to resolve this issue, a method that I can suggest is the following:

1. Using the REST API, get all records information (may be easier if you can specify the field or filter at this point)

2. Put the specific field information from the obtained data into array.

3. Use the JS function (such as “match” or “indexOf”) to search

4. Obtain the key item from the search result and put into array.

(Repeat 3 and 4 until the records are gone)

1. Using the array information created from the step 4., create an URL query

Or you can simply recreate a lookup field yourself.

I hope this helps!
