How should I format this to work:
(${q_0}="choice_2" or ${q_0}="choice_3" or ${q_0}="choice_4") and ${q_2}="3",
is it possible to combine "or" and "and" like this?
Ideally yes, it should work. But give it a test try nonetheless.
I get this error:
FormLogicError: Could not evaluate: /model/instance[1]/data/q_0 ='choice_2' or /model/instance[1]/data/q_0 ='choice_3' or /model/instance[1]/data/q_0 ='choice_4'/model/instance[1]/data/q_2 ='3', message: Too many tokens.{"stack":[{"t":"root","tokens":[{"t":"bool","v":false},{"t":"bool","v":false}]}],"cur":{"v":""}}
I tried like this:
($({q_0}="choice_2") or $({q_0}="choice_3") or $({q_0}="choice_4")) and (${q_2}="3")
but it gets True whenever this: (${q_2}="3") is true, not considering this ($({q_0}="choice_2") or $({q_0}="choice_3") or $({q_0}="choice_4"))
Hi @lrsiefrao
Try:
((${q_0}="choice_2") or (${q_0}="choice_3") or (${q_0}="choice_4")) and (${q_2}="3")
Great day ahead!