Multiple selections (a SELECT Answer) as possible answers (ITEMS) to the next question

Hi ODK Community,

Can we make a list of subsequent possible answers (Items) from earlier
selected multiple selections from a SELECT type question?

For Example:

Q.1: Make selections ...

A) X [SELECTED]
B) Y [SELECTED]
C) Z [SELECTED]
D) W

Q.2: Further selections ...

A) X
B) Y
C) Z

Regards,
Ayub

Hi Ayub,
Find attached file an example which can help you.
Regards,

Koassi.

Multiple_selections_Test.xml (3.6 KB)

··· Le mardi 26 août 2014 07:13:11 UTC, Ayub a écrit : > > Hi ODK Community, > > Can we make a list of subsequent possible answers (Items) from earlier > selected multiple selections from a SELECT type question? > > For Example: > > Q.1: Make selections ... > > A) X [SELECTED] > B) Y [SELECTED] > C) Z [SELECTED] > D) W > > Q.2: Further selections ... > > A) X > B) Y > C) Z > > Regards, > Ayub >

Easy way to do this:

Put the following in the choice_filter column for Q2 (if you don't have a choice_filter column, just create one in the XLSForm Excel file):

selected(${Q1},name) = 'true'

Only answers checked in Q1 will appear as options in Q2.

Cheers,

Matt

Hi Koassi,

That was great help ! thanks a lot. Do you use form hub to create XLSForm ?
and then convert them to XForms format?

Regards,
Ayub

··· On Tuesday, August 26, 2014 11:19:16 PM UTC+5, Koassi AKAKPO wrote: > > Hi Ayub, > Find attached file an example which can help you. > Regards, > > Koassi. > > Le mardi 26 août 2014 07:13:11 UTC, Ayub a écrit : >> >> Hi ODK Community, >> >> Can we make a list of subsequent possible answers (Items) from earlier >> selected multiple selections from a SELECT type question? >> >> For Example: >> >> Q.1: Make selections ... >> >> A) X [SELECTED] >> B) Y [SELECTED] >> C) Z [SELECTED] >> D) W >> >> Q.2: Further selections ... >> >> A) X >> B) Y >> C) Z >> >> Regards, >> Ayub >> >

I use ona http://www.ona.io.

··· Le mercredi 27 août 2014 12:47:28 UTC, Ayub a écrit : > > Hi Koassi, > > That was great help ! thanks a lot. Do you use form hub to create XLSForm > ? and then convert them to XForms format? > > Regards, > Ayub > > On Tuesday, August 26, 2014 11:19:16 PM UTC+5, Koassi AKAKPO wrote: >> >> Hi Ayub, >> Find attached file an example which can help you. >> Regards, >> >> Koassi. >> >> Le mardi 26 août 2014 07:13:11 UTC, Ayub a écrit : >>> >>> Hi ODK Community, >>> >>> Can we make a list of subsequent possible answers (Items) from earlier >>> selected multiple selections from a SELECT type question? >>> >>> For Example: >>> >>> Q.1: Make selections ... >>> >>> A) X [SELECTED] >>> B) Y [SELECTED] >>> C) Z [SELECTED] >>> D) W >>> >>> Q.2: Further selections ... >>> >>> A) X >>> B) Y >>> C) Z >>> >>> Regards, >>> Ayub >>> >>

Ayub, you can use select_multiple option in XLSform.

··· On Wednesday, August 27, 2014 at 5:47:28 PM UTC+5, Ayub wrote: > > Hi Koassi, > > That was great help ! thanks a lot. Do you use form hub to create XLSForm > ? and then convert them to XForms format? > > Regards, > Ayub > > On Tuesday, August 26, 2014 11:19:16 PM UTC+5, Koassi AKAKPO wrote: >> >> Hi Ayub, >> Find attached file an example which can help you. >> Regards, >> >> Koassi. >> >> Le mardi 26 août 2014 07:13:11 UTC, Ayub a écrit : >>> >>> Hi ODK Community, >>> >>> Can we make a list of subsequent possible answers (Items) from earlier >>> selected multiple selections from a SELECT type question? >>> >>> For Example: >>> >>> Q.1: Make selections ... >>> >>> A) X [SELECTED] >>> B) Y [SELECTED] >>> C) Z [SELECTED] >>> D) W >>> >>> Q.2: Further selections ... >>> >>> A) X >>> B) Y >>> C) Z >>> >>> Regards, >>> Ayub >>> >>

Alright, thanks!

··· On Wednesday, August 27, 2014 9:47:08 PM UTC+5, Koassi AKAKPO wrote: > > I use ona . > > > Le mercredi 27 août 2014 12:47:28 UTC, Ayub a écrit : >> >> Hi Koassi, >> >> That was great help ! thanks a lot. Do you use form hub to create XLSForm >> ? and then convert them to XForms format? >> >> Regards, >> Ayub >> >> On Tuesday, August 26, 2014 11:19:16 PM UTC+5, Koassi AKAKPO wrote: >>> >>> Hi Ayub, >>> Find attached file an example which can help you. >>> Regards, >>> >>> Koassi. >>> >>> Le mardi 26 août 2014 07:13:11 UTC, Ayub a écrit : >>>> >>>> Hi ODK Community, >>>> >>>> Can we make a list of subsequent possible answers (Items) from earlier >>>> selected multiple selections from a SELECT type question? >>>> >>>> For Example: >>>> >>>> Q.1: Make selections ... >>>> >>>> A) X [SELECTED] >>>> B) Y [SELECTED] >>>> C) Z [SELECTED] >>>> D) W >>>> >>>> Q.2: Further selections ... >>>> >>>> A) X >>>> B) Y >>>> C) Z >>>> >>>> Regards, >>>> Ayub >>>> >>>

Can we make a list of subsequent possible answers (Items) from earlier selected multiple selections from a SELECT type question?

For Example:

Q.1: Make selections ...

A) X [SELECTED]
B) Y [SELECTED]
C) Z [SELECTED]
D) W

Q.2: Further selections ...

A) X
B) Y
C) Z

Regards,
Ayub

In xlsform, it works this way:

In Q.1,

type
select all that apply from list

name
var_1

and in Q.2

type
integer
name
var_2
relevant
selected(${var_1}, 'X')

Andrea

I want this in XLS form.If available please help me.

Azad

Azad

··· On Thursday, August 28, 2014 at 4:29:00 PM UTC+6, Ayub wrote: > > Alright, thanks! > > On Wednesday, August 27, 2014 9:47:08 PM UTC+5, Koassi AKAKPO wrote: >> >> I use ona . >> >> >> Le mercredi 27 août 2014 12:47:28 UTC, Ayub a écrit : >>> >>> Hi Koassi, >>> >>> That was great help ! thanks a lot. Do you use form hub to create >>> XLSForm ? and then convert them to XForms format? >>> >>> Regards, >>> Ayub >>> >>> On Tuesday, August 26, 2014 11:19:16 PM UTC+5, Koassi AKAKPO wrote: >>>> >>>> Hi Ayub, >>>> Find attached file an example which can help you. >>>> Regards, >>>> >>>> Koassi. >>>> >>>> Le mardi 26 août 2014 07:13:11 UTC, Ayub a écrit : >>>>> >>>>> Hi ODK Community, >>>>> >>>>> Can we make a list of subsequent possible answers (Items) from earlier >>>>> selected multiple selections from a SELECT type question? >>>>> >>>>> For Example: >>>>> >>>>> Q.1: Make selections ... >>>>> >>>>> A) X [SELECTED] >>>>> B) Y [SELECTED] >>>>> C) Z [SELECTED] >>>>> D) W >>>>> >>>>> Q.2: Further selections ... >>>>> >>>>> A) X >>>>> B) Y >>>>> C) Z >>>>> >>>>> Regards, >>>>> Ayub >>>>> >>>>

today i need exactly same thing. do you have the excel file ??

get answer here Creating multiple-select from result of another multiple select

1 Like

thanks mate really appreciated.
select_multiple use_mobility_products
1
2
3
select_multiple seeing_products
1
2
3
select_multiple hearing_products
1
2
3

this all three different questions.
among them selected choices i wanted to choice_filter in 1 question

is it possible ??

did you get a chance to read the full tread? there is a solution to your question. Creating multiple-select from result of another multiple select - #6 by Mahdi_Esmatg