# Autocomplete

**URL:** <https://forum.getodk.org/t/autocomplete/6330>\
**Category:** Support\
**Created:** [February 28, 2017, 8:36am UTC](https://forum.getodk.org/t/autocomplete/6330 "2017-02-28T08:36:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Els\_De\_Bie](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/e/a88e4f/32.png) [@Els\_De\_Bie](https://forum.getodk.org/u/Els_De_Bie)\
**Post date:** [February 28, 2017, 8:36am UTC](https://forum.getodk.org/t/autocomplete/6330/1 "2017-02-28T08:36:30Z")

</div>

Hi there,

I was making up an xls-form and want to use an autocomplete function.  
As I'm trying to make an app to collect vegetation data, the list of plants is very long. So instead of scrolling down into 10 000 plantnames, I would like to type 3 characters of the genus. So for example Aln ... getting Alnus alba, Alnus glutinosa, ....  
Or maybe even more sophisticated followed by 3 characters of the species name: exp: Alnus glutinosa ... so typing Aln glu and then get a limited list of all species beginning with this characters.  
Does this exist in ODK?

Best wishes, Els

---

<div class="post-metadata">

**Author:** ![kayr](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/kayr/32/11153_2.png) [@kayr](https://forum.getodk.org/u/kayr)\
**Post date:** [March 1, 2017, 9:31am UTC](https://forum.getodk.org/t/autocomplete/6330/2 "2017-03-01T09:31:01Z")

</div>

Hi Else,

ODK has an appearance attribute "search" which looks like this.(Image  
copied from [https://opendatakit.org/help/form-design/examples/](https://opendatakit.org/help/form-design/examples/))

Thought am not sure how it performs with 10,000 entries.

May be you can combine this widget with external\_itemsets(https://  
[opendatakit.org/help/form-design/data-preloading/](http://opendatakit.org/help/form-design/data-preloading/)) though I have never  
tried this.

See also [https://groups.google.com/d/msg/opendatakit/RjArXP3QCpQ/cGNX](https://groups.google.com/d/msg/opendatakit/RjArXP3QCpQ/cGNX)  
\_\_3XAwAJ

> **···**
>
> On Tue, Feb 28, 2017 at 11:36 AM, wrote:
> 
> > Hi there,
> > 
> > I was making up an xls-form and want to use an autocomplete function.  
> > As I'm trying to make an app to collect vegetation data, the list of  
> > plants is very long. So instead of scrolling down into 10 000 plantnames, I  
> > would like to type 3 characters of the genus. So for example Aln ...  
> > getting Alnus alba, Alnus glutinosa, ....  
> > Or maybe even more sophisticated followed by 3 characters of the species  
> > name: exp: Alnus glutinosa ... so typing Aln glu and then get a limited  
> > list of all species beginning with this characters.  
> > Does this exist in ODK?
> > 
> > Best wishes, Els
> > 
> > ## --
> > 
> > Post: [opendatakit@googlegroups.com](mailto:opendatakit@googlegroups.com)  
> > Unsubscribe: [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com)  
> > Options: [http://groups.google.com/group/opendatakit?hl=en](http://groups.google.com/group/opendatakit?hl=en)
> > 
> > * * *
> > 
> > You received this message because you are subscribed to the Google Groups  
> > "ODK Community" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> Ronald. K

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [March 2, 2017, 6:34pm UTC](https://forum.getodk.org/t/autocomplete/6330/3 "2017-03-02T18:34:28Z")

</div>

Els,

If Collect ends up being not performant for your list, please file an issue  
with the test form at [https://github.com/opendatakit/collect/issues/new](https://github.com/opendatakit/collect/issues/new). I  
bet there are optimizations we can make.

Thanks,

Yaw

> **···**
>
> On Wed, Mar 1, 2017 at 4:31 AM, Ronald Kayondo wrote:
> 
> > Hi Else,
> > 
> > ODK has an appearance attribute "search" which looks like this.(Image  
> > copied from [https://opendatakit.org/help/form-design/examples/](https://opendatakit.org/help/form-design/examples/))
> > 
> > Thought am not sure how it performs with 10,000 entries.
> > 
> > May be you can combine this widget with external\_itemsets([https://open](https://open)  
> > [datakit.org/help/form-design/data-preloading/](http://datakit.org/help/form-design/data-preloading/)) though I have never tried  
> > this.
> > 
> > See also [https://groups.google.com/d/msg/opendatakit/RjArXP3QCpQ/cGNX](https://groups.google.com/d/msg/opendatakit/RjArXP3QCpQ/cGNX)  
> > \_\_3XAwAJ
> > 
> > On Tue, Feb 28, 2017 at 11:36 AM, [els.debie@inbo.be](mailto:els.debie@inbo.be) wrote:
> > 
> > > Hi there,
> > > 
> > > I was making up an xls-form and want to use an autocomplete function.  
> > > As I'm trying to make an app to collect vegetation data, the list of  
> > > plants is very long. So instead of scrolling down into 10 000 plantnames, I  
> > > would like to type 3 characters of the genus. So for example Aln ...  
> > > getting Alnus alba, Alnus glutinosa, ....  
> > > Or maybe even more sophisticated followed by 3 characters of the species  
> > > name: exp: Alnus glutinosa ... so typing Aln glu and then get a limited  
> > > list of all species beginning with this characters.  
> > > Does this exist in ODK?
> > > 
> > > Best wishes, Els
> > > 
> > > ## --
> > > 
> > > Post: [opendatakit@googlegroups.com](mailto:opendatakit@googlegroups.com)  
> > > Unsubscribe: [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com)  
> > > Options: [http://groups.google.com/group/opendatakit?hl=en](http://groups.google.com/group/opendatakit?hl=en)
> > > 
> > > * * *
> > > 
> > > You received this message because you are subscribed to the Google Groups  
> > > "ODK Community" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > Ronald. K
> > 
> > ## --
> > 
> > Post: [opendatakit@googlegroups.com](mailto:opendatakit@googlegroups.com)  
> > Unsubscribe: [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com)  
> > Options: [http://groups.google.com/group/opendatakit?hl=en](http://groups.google.com/group/opendatakit?hl=en)
> > 
> > * * *
> > 
> > You received this message because you are subscribed to the Google Groups  
> > "ODK Community" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![giegie\_the\_hill](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/giegie_the_hill/32/5407_2.png) [@giegie\_the\_hill](https://forum.getodk.org/u/giegie_the_hill)\
**Post date:** [November 23, 2018, 4:51am UTC](https://forum.getodk.org/t/autocomplete/6330/4 "2018-11-23T04:51:33Z")

</div>

Hi all,

Thanks for all the suggestion. It works for me. i have the same case. in 1st workshop we have 2000 participant. then in the 2nd ws we want them type the correct name as in the 1st ws. this autocomplete helps much.  
However, the problem is for the new participant in 2nd ws they are not able to fill the box as it is a look-up from pre-loaded list (select\_one).  
Does anyone know how to do it, just beside from the list we open the possibility for new participants.

Thanks,  
sg

---

<div class="post-metadata">

**Author:** ![Gombe](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/g/46a35a/32.png) [@Gombe](https://forum.getodk.org/u/Gombe)\
**Post date:** [November 23, 2018, 12:51pm UTC](https://forum.getodk.org/t/autocomplete/6330/5 "2018-11-23T12:51:59Z")

</div>

Use others as option in the option list then at relevant make it if participant is not in the option select then a text box should open to all who him type his name

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [November 30, 2018, 1:31am UTC](https://forum.getodk.org/t/autocomplete/6330/6 "2018-11-30T01:31:45Z")

</div>

This is what I'd do as well! The participant will have to search, then if the name is not found, clear the search and select "Other" or "Name not here" or whatever. You can make it easier by putting that option first.

Alternatively, if you are confident that the participants will know if they were at the first workshop, then you can ask them that question first, and if they say no, then show them a text box. This approach will save new participants from searching the old list.

---

<div class="post-metadata">

**Author:** ![giegie\_the\_hill](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/giegie_the_hill/32/5407_2.png) [@giegie\_the\_hill](https://forum.getodk.org/u/giegie_the_hill)\
**Post date:** [December 4, 2018, 1:56am UTC](https://forum.getodk.org/t/autocomplete/6330/7 "2018-12-04T01:56:17Z")

</div>

Hi all,

Thanks for the suggestions, it is all valuable for my work.

best,  
gi

---

<div class="post-metadata">

**Author:** ![famador](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/famador/32/8770_2.png) [@famador](https://forum.getodk.org/u/famador)\
**Post date:** [January 2, 2019, 9:00pm UTC](https://forum.getodk.org/t/autocomplete/6330/8 "2019-01-02T21:00:47Z")

</div>

Hello guys, i look for a autocomplete a little different, for example: i have many id and this id are linked with a name and a last\_name, so when the user introduce the id, automatically show and save the name and las\_name.

id name last\_name  
123 Juan Perez

Thanks in advance 🙂 \*

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [January 10, 2019, 9:52pm UTC](https://forum.getodk.org/t/autocomplete/6330/9 "2019-01-10T21:52:22Z")

</div>

Try [pulling data from a CSV](http://xlsform.org/en/#how-to-pull-data-from-csv)
