Hi guys, i would like to to allow a question to be answered in a form based
on previous answer of another question, but not only when one answer is
selected i want it to be relevant for two sets of example.
like this
type name
label relevant
select_one option1 hiv_status HIV Status
date date_tested Date the hiv test was
done selected(${hiv_status}, 'positive', 'negative')
This are the options
list name name label
option1 positive Positive
option1 negative negative
option1 unknown unknown
You can simply negate the statement:
not(selected(${hiv_status}, 'unknown'))
or use the logical operator or , like this:
selected(${hiv_status}, 'positive') or selected(${hiv_status},
'negative')
They are functionally the same.
Nik
ยทยทยท
On Tuesday, May 7, 2013, Coulson Thabo Kgathi wrote:
Hi guys, i would like to to allow a question to be answered in a form
based on previous answer of another question, but not only when one answer
is selected i want it to be relevant for two sets of example.
like this
type name
label relevant
select_one option1 hiv_status HIV Status
date date_tested Date the hiv test was
done selected(${hiv_status}, 'positive', 'negative')
This are the options
list name name label
option1 positive Positive
option1 negative negative
option1 unknown unknown
--
Post: opendatakit@googlegroups.com <javascript:_e({}, 'cvml',
'opendatakit@googlegroups.com');>
Unsubscribe: opendatakit+unsubscribe@googlegroups.com <javascript:_e({},
'cvml', 'opendatakit%2Bunsubscribe@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 <javascript:_e({},
'cvml', 'opendatakit%2Bunsubscribe@googlegroups.com');>.
For more options, visit https://groups.google.com/groups/opt_out.