# Can I "lock" correctness state? (mult choice, checkmark only if correct on 1st submission)

**URL:** <https://cl.desmos.com/t/can-i-lock-correctness-state-mult-choice-checkmark-only-if-correct-on-1st-submission/1719>\
**Category:** Questions\
**Tags:** dashboard, validation, correctness\
**Created:** [October 18, 2020, 1:54pm UTC](https://cl.desmos.com/t/can-i-lock-correctness-state-mult-choice-checkmark-only-if-correct-on-1st-submission/1719 "2020-10-18T13:54:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SqrtOfPi](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sqrtofpi/32/899_2.png) [@SqrtOfPi](https://cl.desmos.com/u/SqrtOfPi)\
**Post date:** [October 18, 2020, 1:54pm UTC](https://cl.desmos.com/t/can-i-lock-correctness-state-mult-choice-checkmark-only-if-correct-on-1st-submission/1719/1 "2020-10-18T13:54:11Z")

</div>

I started to ask a different question, and in the process of composing that post, I figured it out, lol! But now I have a follow-up question.

My goal: I want the dashboard checkmark to appear ONLY if the student gets the MC correct on the FIRST try.

I don’t want to “lock” the question so that they can’t change their answer upon getting feedback that it is wrong (I know how to do that), but when I look at the dashboard (asynchronous activity, so I won’t be watching them in real time), I want to know how many students did NOT get the answer the first time.

So I figured this out, and it works exactly as I intend:

correct: this.isSelected(1) and this.submitted and this.submitCount=1

Now, the only concern I have is that IF a student enters the correct answer on first try, and then (for some random reason), changes their answer, or even re-submits their original (correct) answer, it will change the checkmark to an X, since the submitCount=1 condition is no longer true. Is there a way to “lock in” their correct status so that this won’t happen? (This is not a huge deal and I doubt it would be an issue because I’m sure when they see their little green checkmark, they can’t click that “NEXT” button fast enough, lol… but it feels like best practices would lock it in, if that’s possible).

> **[lock in correct MC checkmark • Activity by Debbie Gaydos](https://classroom.amplify.com/activity/5f8c48b656a58f0cdccc326d)**
>
> by Debbie Gaydos

---

<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:** [October 18, 2020, 9:35pm UTC](https://cl.desmos.com/t/can-i-lock-correctness-state-mult-choice-checkmark-only-if-correct-on-1st-submission/1719/2 "2020-10-18T21:35:29Z")

</div>

Use your own action button, and a capture. In your correctness, just use the elementAt(1).

---

<div class="post-metadata">

**Author:** ![SqrtOfPi](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sqrtofpi/32/899_2.png) [@SqrtOfPi](https://cl.desmos.com/u/SqrtOfPi)\
**Post date:** [October 18, 2020, 10:30pm UTC](https://cl.desmos.com/t/can-i-lock-correctness-state-mult-choice-checkmark-only-if-correct-on-1st-submission/1719/3 "2020-10-18T22:30:15Z")

</div>

Thanks! I figured it had to use capture somehow. I’ll play around with it. 🙂

---

<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:** [October 19, 2020, 3:06am UTC](https://cl.desmos.com/t/can-i-lock-correctness-state-mult-choice-checkmark-only-if-correct-on-1st-submission/1719/4 "2020-10-19T03:06:15Z")

</div>

```auto
button.history(`name`).elementAt(1)

```

Just in case you needed some extra.
