How to make a search function in select_one type, where the choices is very much

Hi ODKers

I have problem with select_one type for bird species in Indonesia where the
list of choices about 1500. does anyone know how to a make search function
to speed up the search for the list to be selected?

Thanks
Rio

We support this requirement in our recent platform (https://play.google.com/store/apps/details?id=vn.rta.cpms.android). If you want to try, we can set you up.

Trung.

ยทยทยท On Thursday, February 25, 2016 at 7:01:45 PM UTC+7, Laurio Leonald wrote: > Hi ODKers > > > I have problem with select_one type for bird species in Indonesia where the list of choices about 1500. does anyone know how to a make search function to speed up the search for the list to be selected? > > > > > > > Thanks > Rio

Hi Rio,

I implemented something similar, where I had a list of 5000+ individuals
and we needed to select one from the list.

Here is how you can do it:

  1. Make a CSV file with name of bird species in one column and return code
    an another cloumn.
  2. Create a text input field in your form before the select one prompt.
  3. Create select one prompt with search function in appearance column.
  4. Sample code to put in appearance is : search('hhdata', 'startswith',
    'full_name', ${A1_Name})
    Here,
    hhdata = name of the csv file without extension.
    startswith = search the names which start with ...
    full_name = column name in csv file
    ${A1_Name} = variable to get the search text from the text filed we created
    in step 2.

Now, when you load this form, the select one prompt will show only the
names which start with text in input field which will generate much smaller
select one list. For example: if you enter K in the text input field, then
the select one filed will show only names that start with K.

For more details you should visit this
page: https://opendatakit.org/help/form-design/data-preloading/

Regards,
Shobhit Prabhakar

ยทยทยท On Thursday, 25 February 2016 17:31:45 UTC+5:30, Laurio Leonald wrote: > > Hi ODKers > > I have problem with select_one type for bird species in Indonesia where > the list of choices about 1500. does anyone know how to a make search > function to speed up the search for the list to be selected? > > > > Thanks > Rio >
2 Likes

Have you tried the external itemset feature?
https://opendatakit.org/help/form-design/external-itemsets/

ยทยทยท On Thu, Feb 25, 2016 at 5:45 AM, wrote:

We support this requirement in our recent platform (
https://play.google.com/store/apps/details?id=vn.rta.cpms.android). If
you want to try, we can set you up.

Trung.

On Thursday, February 25, 2016 at 7:01:45 PM UTC+7, Laurio Leonald wrote:

Hi ODKers

I have problem with select_one type for bird species in Indonesia where
the list of choices about 1500. does anyone know how to a make search
function to speed up the search for the list to be selected?

Thanks
Rio

--

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.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Have you tried the external itemset feature?
https://opendatakit.org/help/form-design/external-itemsets/

We support this requirement in our recent platform (https://play.google.com/store/apps/details?id=vn.rta.cpms.android). If you want to try, we can set you up.

Trung.

Hi ODKers

I have problem with select_one type for bird species in Indonesia where the list of choices about 1500. does anyone know how to a make search function to speed up the search for the list to be selected?

Thanks

Rio

--

--

Post: opend...@googlegroups.com

Unsubscribe: opendatakit...@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...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Hi Micth Susdt,

Thanks for respond

I just see and try your suggestion, but I think that is the cascading with external choices, and the problem the cascading is is not works good on repeat group.

do you have any idea for make search engine for select one.?

Thanks,
Rio

ยทยทยท On Friday, February 26, 2016 at 2:24:58 AM UTC+7, Mitch Sundt wrote: > On Thu, Feb 25, 2016 at 5:45 AM, wrote: > On Thursday, February 25, 2016 at 7:01:45 PM UTC+7, Laurio Leonald wrote:

By search engine, I think you mean some sort of autocomplete widget?
It's non-trivial, code contributions are always welcome!

See https://groups.google.com/d/msg/opendatakit-developers/I9sIdJZgDUA/4PKxcVHlQgkJ

Yaw

ยทยทยท -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Fri, Feb 26, 2016 at 10:10 AM, pengabdiburung@gmail.com wrote:

On Friday, February 26, 2016 at 2:24:58 AM UTC+7, Mitch Sundt wrote:

Have you tried the external itemset feature?
https://opendatakit.org/help/form-design/external-itemsets/

On Thu, Feb 25, 2016 at 5:45 AM, tru...@rta.vn wrote:
We support this requirement in our recent platform (https://play.google.com/store/apps/details?id=vn.rta.cpms.android). If you want to try, we can set you up.

Trung.

On Thursday, February 25, 2016 at 7:01:45 PM UTC+7, Laurio Leonald wrote:

Hi ODKers

I have problem with select_one type for bird species in Indonesia where the list of choices about 1500. does anyone know how to a make search function to speed up the search for the list to be selected?

Thanks

Rio

--

--

Post: opend...@googlegroups.com

Unsubscribe: opendatakit...@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...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Hi Micth Susdt,

Thanks for respond

I just see and try your suggestion, but I think that is the cascading with external choices, and the problem the cascading is is not works good on repeat group.

do you have any idea for make search engine for select one.?

Thanks,
Rio

--

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.