Relevant for Multiple select

Hi All

I have an issue where i can present a question based on the proevious
answer if it is a singe select. However when i have a multiple select and
need to present a question based on the previous answer, if the condition
is true it does not work.

So i have 10 questions followed by 5 more if any of the first 5 from the
previous 10 questions are true. It works 100% for single select but when i
do it on a multiple select it ignores the relevance.

So my question is how do i do this for a multiple select. Below is the line
I am trying to use for presenting it from the multiple select.

text oral_sec Please provide oral medication details ${sec_man}='sec_man1'
yes

Hi there,

try to use the relevant="selected(/widgets/branch, 'n') notation.
in the example, use 'selected(${sec_man},'sec_man1'}

Regards,

Mito

··· On 26-Mar-13 12:27, Bashir Jahed wrote: > Hi All > > I have an issue where i can present a question based on the proevious > answer if it is a singe select. However when i have a multiple select > and need to present a question based on the previous answer, if the > condition is true it does not work. > > So i have 10 questions followed by 5 more if any of the first 5 from > the previous 10 questions are true. It works 100% for single select > but when i do it on a multiple select it ignores the relevance. > > So my question is how do i do this for a multiple select. Below is the > line I am trying to use for presenting it from the multiple select. > > text oral_sec Please provide oral medication details > > > ${sec_man}='sec_man1' > > yes > > -- > -- > 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/groups/opt_out. > >

Also, please remember that when you have a screen full of questions(a
field-list group), the relevance conditions are evaluated only once, upon
initial display of the screen.
Because of this, this means you cannot combine the multi-select and the
dependent text field within the same screen (field-list). You need to have
them on separate screens.

Mitch

··· On Tue, Mar 26, 2013 at 3:39 AM, Mofya Phiri wrote:

Hi there,

try to use the relevant="selected(/widgets/branch, 'n') notation.
in the example, use 'selected(${sec_man},'sec_man1'}

Regards,

Mito

On 26-Mar-13 12:27, Bashir Jahed wrote:

Hi All

I have an issue where i can present a question based on the proevious
answer if it is a singe select. However when i have a multiple select and
need to present a question based on the previous answer, if the condition
is true it does not work.

So i have 10 questions followed by 5 more if any of the first 5 from the
previous 10 questions are true. It works 100% for single select but when i
do it on a multiple select it ignores the relevance.

So my question is how do i do this for a multiple select. Below is the
line I am trying to use for presenting it from the multiple select.

text oral_sec Please provide oral medication details

${sec_man}='sec_man1'

yes

--
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/groups/opt_out.

--

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/groups/opt_out.

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

Thanks guys..

That did the trick. Awsome work.

··· On Mar 26, 2013 6:36 PM, "Mitch Sundt" wrote:

Also, please remember that when you have a screen full of questions(a
field-list group), the relevance conditions are evaluated only once, upon
initial display of the screen.
Because of this, this means you cannot combine the multi-select and the
dependent text field within the same screen (field-list). You need to have
them on separate screens.

Mitch

On Tue, Mar 26, 2013 at 3:39 AM, Mofya Phiri mofya1@gmail.com wrote:

Hi there,

try to use the relevant="selected(/widgets/branch, 'n') notation.
in the example, use 'selected(${sec_man},'sec_man1'}

Regards,

Mito

On 26-Mar-13 12:27, Bashir Jahed wrote:

Hi All

I have an issue where i can present a question based on the proevious
answer if it is a singe select. However when i have a multiple select and
need to present a question based on the previous answer, if the condition
is true it does not work.

So i have 10 questions followed by 5 more if any of the first 5 from
the previous 10 questions are true. It works 100% for single select but
when i do it on a multiple select it ignores the relevance.

So my question is how do i do this for a multiple select. Below is the
line I am trying to use for presenting it from the multiple select.

text oral_sec Please provide oral medication details

${sec_man}='sec_man1'

yes

--
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/groups/opt_out.

--

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/groups/opt_out.

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

--

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/groups/opt_out.