Is it possible to set relevance on some question based on a question of
type "select" (i.e. multiple possible selected answers). If so, how would
we write relevant property for that, as multiple selected answers are saved
as "a c b f g" ...
I am surprised that this works for SELECT ( & of course SELECT1 ) type
questions.
relevant="selected(/widgets/branch, 'n')"
Regards,
Ayub
···
On Thursday, June 26, 2014 3:13:39 PM UTC+5, Ayub wrote:
>
> Is it possible to set relevance on some question based on a question of
> type "select" (i.e. multiple possible selected answers). If so, how would
> we write relevant property for that, as multiple selected answers are saved
> as "a c b f g" ...
>
> Regards,
> Ayub
>
>
>
“selected(${multi}, 'a) or selected(${multi}, 'b) or selected(${multi}, ‘c')” and so on for you relevant combination
Bashir
···
From: opendatakit@googlegroups.com [mailto:opendatakit@googlegroups.com] On Behalf Of Ayub
Sent: 26 June 2014 12:14 PM
To: opendatakit@googlegroups.com
Subject: [ODK Community] Relevance based on (multiple) select type question
Is it possible to set relevance on some question based on a question of type "select" (i.e. multiple possible selected answers). If so, how would we write relevant property for that, as multiple selected answers are saved as "a c b f g" ...
···
On Thursday, June 26, 2014 5:15:21 PM UTC+5, Bashir Jahed wrote:
>
> Ayub
>
>
>
> Yes you can do this by employing the following:
>
>
>
> If you select_multiple question name is “multi”
>
>
>
> “selected(${multi}, 'a) or selected(${multi}, 'b) or selected(${multi},
> ‘c')” and so on for you relevant combination
>
>
>
> Bashir
>
>
>
> *From:* opend...@googlegroups.com [mailto:
> opend...@googlegroups.com ] *On Behalf Of *Ayub
> *Sent:* 26 June 2014 12:14 PM
> *To:* opend...@googlegroups.com
> *Subject:* [ODK Community] Relevance based on (multiple) select type
> question
>
>
>
> Is it possible to set relevance on some question based on a question of
> type "select" (i.e. multiple possible selected answers). If so, how would
> we write relevant property for that, as multiple selected answers are saved
> as "a c b f g" ...
>
>
>
> Regards,
>
> Ayub
>
>
>
>
>
> --
> --
> 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.
>
>
> ------------------------------
>
>
> This email is free from viruses and malware because avast! Antivirus
> protection is active.
>
>