# Feature Request: matchesKey on multiple choice

**URL:** <https://cl.desmos.com/t/feature-request-matcheskey-on-multiple-choice/490>\
**Category:** Questions\
**Tags:** card-sort\
**Created:** [May 25, 2019, 9:24am UTC](https://cl.desmos.com/t/feature-request-matcheskey-on-multiple-choice/490 "2019-05-25T09:24:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryn](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/bryn/32/40_2.png) [@Bryn](https://cl.desmos.com/u/Bryn)\
**Post date:** [May 25, 2019, 9:24am UTC](https://cl.desmos.com/t/feature-request-matcheskey-on-multiple-choice/490/1 "2019-05-25T09:24:43Z")

</div>

The matchesKey source exists on card sorts and ordered lists.

I would like to be able to have such a source on multiple choice, because at the moment I have to duplicate the answer key in computation layer if I want to access whether a given question was answered correctly (which is error prone and tedious.)

(Actually, I would prefer something even more powerful, which is the ability to access the correctness state of any component and/or any screen. But I will settle for the matchesKey on multiple choice, if only for consistency.)

---

<div class="post-metadata">

**Author:** ![JayChow](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jaychow/32/1674_2.png) [@JayChow](https://cl.desmos.com/u/JayChow)\
**Post date:** [May 25, 2019, 3:21pm UTC](https://cl.desmos.com/t/feature-request-matcheskey-on-multiple-choice/490/2 "2019-05-25T15:21:33Z")

</div>

Thanks for the request! I’ll forward it along

---

<div class="post-metadata">

**Author:** ![Bryn](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/bryn/32/40_2.png) [@Bryn](https://cl.desmos.com/u/Bryn)\
**Post date:** [April 28, 2021, 8:11pm UTC](https://cl.desmos.com/t/feature-request-matcheskey-on-multiple-choice/490/3 "2021-04-28T20:11:32Z")

</div>

Now that almost two years have elapsed I am wondering if I am the only person who would like this feature?

I have some checkbox components where two out of six are correct.

Is the only way to do this still with code like the below?

````auto
is_correct = this.isSelected(1) and not(this.isSelected(2)) 
         and this.isSelected(3) and this.isSelected(4) 
         and this.isSelected(5) and not(this.isSelected(6))```

````

It seems fairly brittle (in the sense that if I reorder the options then I need to change the code) as well as tedious.

Current application is [FM34 / Chapter 09 / Introducing the Big 3 • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/6087dee4639f7e05b96c8e92#preview/904e6517-b805-4ef7-87ab-4dadb919a963) where I want to provide feedback on screens 2-4.
