# And/ Or criteria

**URL:** <https://forum.avicennaresearch.com/t/and-or-criteria/136>\
**Category:** Support\
**Created:** [December 19, 2019, 9:39pm UTC](https://forum.avicennaresearch.com/t/and-or-criteria/136 "2019-12-19T21:39:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anishaa](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/a/bc79bd/32.png) [@anishaa](https://forum.avicennaresearch.com/u/anishaa)\
**Post date:** [December 19, 2019, 9:39pm UTC](https://forum.avicennaresearch.com/t/and-or-criteria/136/1 "2019-12-19T21:39:10Z")

</div>

Hi, I’m using ethica for a study and trying to figure out how to set the criteria for a question. I need the multiple choice question to be enabled if the participant selects answer ID option 3 and/or 4 for the previous multiple choice question (Question ID 2). Is this possible? I tried Q2==3 OR Q2==4

---

<div class="post-metadata">

**Author:** ![m.hashemian](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/m/a5b964/32.png) [@m.hashemian](https://forum.avicennaresearch.com/u/m.hashemian)\
**Post date:** [December 27, 2019, 10:13pm UTC](https://forum.avicennaresearch.com/t/and-or-criteria/136/2 "2019-12-27T22:13:31Z")

</div>

Hi @anishaa

Let’s assume your survey has 2 pages, P1 and P2, and one multiple choice question in each page, Q1 and Q2. Q1 has 5 answers, with IDs from 1 to 5, and you want if the participant selects answer 3 and/or 4 be taken to P2 to answer Q2.

In this case, you should put this criteria on P2:

```auto
Q1 == 3 OR Q1 == 4

```

Which says P2 should be shown only if 3 is checked in Q1 from P1, or 4 is checked in Q1 from P1 (which covers the case where both selected as well).

Hope it helps,  
Mohammad
