Autocomplete


(Els De Bie) #1

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


Auto-prompt would come up with list of option from pre-loaded list
(Ronald Kayondo) #2

Hi Else,

ODK has an appearance attribute "search" which looks like this.(Image
copied from 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/) though I have never
tried this.

See also 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
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: 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.
For more options, visit https://groups.google.com/d/optout.

--
Ronald. K


(Yaw Anokwa) #3

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. 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/)

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

May be you can combine this widget with external_itemsets(https://open
datakit.org/help/form-design/data-preloading/) though I have never tried
this.

See also https://groups.google.com/d/msg/opendatakit/RjArXP3QCpQ/cGNX
__3XAwAJ

On Tue, Feb 28, 2017 at 11:36 AM, 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
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: 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.
For more options, visit https://groups.google.com/d/optout.

--
Ronald. K

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: 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.
For more options, visit https://groups.google.com/d/optout.


(Giegie) #4

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


(Baba Dahiru) #5

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


(Yaw Anokwa) #6

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.


(Giegie) #7

Hi all,

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

best,
gi