Setting relevance from a select multiple list

Dear Mitch and Team,

I have a select multiple list of feed as shown below:
1-Maize
2-Vegetables
3-Fruits
4-Others

Now i want to ask price for each of the above feed selected at 1st screen
when I move to 2nd screen. How do i set this relevance from xlsform such
that the feed not selected are not displayed in screen 2

Thanks

Collins

Collins,

Add four questions that ask about the price of each of the options.
Make each question relevant based on what was selected.

Assuming your select is q_feed and the values for each of the options
is 1,2,3,4.

q_maize's relevance: selected(${q_feed},'1')
q_vegetables' relevance: selected(${q_feed},'2')

Note that you have to compare with the value, not the label. Also note
that the value is a string so you have to use the quotes.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Sun, Jun 8, 2014 at 9:08 AM, Collins McAdoyo collins.adoyo@gmail.com wrote:

Dear Mitch and Team,

I have a select multiple list of feed as shown below:
1-Maize
2-Vegetables
3-Fruits
4-Others

Now i want to ask price for each of the above feed selected at 1st screen
when I move to 2nd screen. How do i set this relevance from xlsform such
that the feed not selected are not displayed in screen 2

Thanks

Collins

--

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.

Thanks Yaw its working

··· On Jun 8, 2014 7:17 PM, "Yaw Anokwa" wrote:

Collins,

Add four questions that ask about the price of each of the options.
Make each question relevant based on what was selected.

Assuming your select is q_feed and the values for each of the options
is 1,2,3,4.

q_maize's relevance: selected(${q_feed},'1')
q_vegetables' relevance: selected(${q_feed},'2')

Note that you have to compare with the value, not the label. Also note
that the value is a string so you have to use the quotes.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Sun, Jun 8, 2014 at 9:08 AM, Collins McAdoyo collins.adoyo@gmail.com wrote:

Dear Mitch and Team,

I have a select multiple list of feed as shown below:
1-Maize
2-Vegetables
3-Fruits
4-Others

Now i want to ask price for each of the above feed selected at 1st screen
when I move to 2nd screen. How do i set this relevance from xlsform such
that the feed not selected are not displayed in screen 2

Thanks

Collins

--

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.

--

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.

@yanokwa what if I want to select 2 or more options from the 4, maybe Maize and Vegetables and follow up questions will react to both selected, how do I set the relevance?

Thanks all

Hi @Azeez1
It is possible to have a repeat group that allows you to ask additional questions for every selected option in select_multiple question. Here is a sample form:
repeatThroughSelectMultiple.xlsx (6.2 KB)

Does that help you?