# Help with self-checking "multi-select" response questions

**URL:** <https://cl.desmos.com/t/help-with-self-checking-multi-select-response-questions/2203>\
**Category:** Questions\
**Tags:** validation, correctness\
**Created:** [December 14, 2020, 11:51pm UTC](https://cl.desmos.com/t/help-with-self-checking-multi-select-response-questions/2203 "2020-12-14T23:51:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlloyd](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jlloyd/32/784_2.png) [@jlloyd](https://cl.desmos.com/u/jlloyd)\
**Post date:** [December 14, 2020, 11:51pm UTC](https://cl.desmos.com/t/help-with-self-checking-multi-select-response-questions/2203/1 "2020-12-14T23:51:26Z")

</div>

Does anyone know if it’s possible for a multi-select question to be self-checking with four correct responses? The only examples I can find have only two options and I can not figure out how to alter the CL to include four correct instead of just two.

I am trying to fix slide 10 on this [presentation](https://teacher.desmos.com/activitybuilder/custom/5fd3f43f7b1ad2416071f11c) and any help is much appreciated!

---

<div class="post-metadata">

**Author:** ![Dvora\_Celniker](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/dvora_celniker/32/1040_2.png) [@Dvora\_Celniker](https://cl.desmos.com/u/Dvora_Celniker)\
**Post date:** [December 15, 2020, 1:24am UTC](https://cl.desmos.com/t/help-with-self-checking-multi-select-response-questions/2203/2 "2020-12-15T01:24:16Z")

</div>

It seems to be working for me. There is an error in your note code… it references E, but does not have it there.

---

<div class="post-metadata">

**Author:** ![James](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/james/32/1698_2.png) [@James](https://cl.desmos.com/u/James)\
**Post date:** [December 15, 2020, 1:54am UTC](https://cl.desmos.com/t/help-with-self-checking-multi-select-response-questions/2203/3 "2020-12-15T01:54:46Z")

</div>

It is also working when I look at it. To remove the error, add

E=choice.isSelected(5)

in the note on slide 10

---

<div class="post-metadata">

**Author:** ![jlloyd](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jlloyd/32/784_2.png) [@jlloyd](https://cl.desmos.com/u/jlloyd)\
**Post date:** [December 15, 2020, 4:49am UTC](https://cl.desmos.com/t/help-with-self-checking-multi-select-response-questions/2203/4 "2020-12-15T04:49:41Z")

</div>

Thanks for responding! It does seem to be working but when I select two that are correct, for example, the prompt says all four are correct. Or when I select C and/or D, nothing comes up feedback wise.

---

<div class="post-metadata">

**Author:** ![jlloyd](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jlloyd/32/784_2.png) [@jlloyd](https://cl.desmos.com/u/jlloyd)\
**Post date:** [December 15, 2020, 4:53am UTC](https://cl.desmos.com/t/help-with-self-checking-multi-select-response-questions/2203/5 "2020-12-15T04:53:12Z")

</div>

> [@James](#):
>
> E=choice.isSelected(5)

Done! I am not getting any feedback though when, for example, when C and/or D is selected. And the feedback when only two correct are selected is that all four are correct. Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [December 15, 2020, 6:12am UTC](https://cl.desmos.com/t/help-with-self-checking-multi-select-response-questions/2203/6 "2020-12-15T06:12:29Z")

</div>

I don’t see anything in there right now, but generally for a multiselect to be marked correct, all correct answers should be selected (use `and`'s) and not any of the incorrect (`or`'s)

```auto
correct: (correct1 and correct2 and correct3) 
         and not(incorrect1 or incorrect2)

```
