# Correct not working

**URL:** <https://cl.desmos.com/t/correct-not-working/1358>\
**Category:** Questions\
**Tags:** validation, correctness\
**Created:** [August 23, 2020, 3:59pm UTC](https://cl.desmos.com/t/correct-not-working/1358 "2020-08-23T15:59:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Immel](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/scott_immel/32/1012_2.png) [@Scott\_Immel](https://cl.desmos.com/u/Scott_Immel)\
**Post date:** [August 23, 2020, 3:59pm UTC](https://cl.desmos.com/t/correct-not-working/1358/1 "2020-08-23T15:59:24Z")

</div>

[https://teacher.desmos.com/activitybuilder/custom/5f42921849a2072f0282fa2f](https://teacher.desmos.com/activitybuilder/custom/5f42921849a2072f0282fa2f)

When my success variable is flagged, it changes the note, and also marks it with a check in the summary view. Well, it’s supposed to. This has worked on other screens but is not working on this one.

Here is my code in a graph box.

correct: note2.script.success

Any ideas?

TIA

---

<div class="post-metadata">

**Author:** ![Scott\_Immel](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/scott_immel/32/1012_2.png) [@Scott\_Immel](https://cl.desmos.com/u/Scott_Immel)\
**Post date:** [August 23, 2020, 5:09pm UTC](https://cl.desmos.com/t/correct-not-working/1358/2 "2020-08-23T17:09:35Z")

</div>

I just added readOnly: true to it and that didn’t fix it. 😠

---

<div class="post-metadata">

**Author:** ![cwinske](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/cwinske/32/3106_2.png) [@cwinske](https://cl.desmos.com/u/cwinske)\
**Post date:** [August 23, 2020, 8:19pm UTC](https://cl.desmos.com/t/correct-not-working/1358/3 "2020-08-23T20:19:30Z")

</div>

Try putting your code in both input components, and then put `readOnly: true` in the graph component.

---

<div class="post-metadata">

**Author:** ![Scott\_Immel](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/scott_immel/32/1012_2.png) [@Scott\_Immel](https://cl.desmos.com/u/Scott_Immel)\
**Post date:** [August 23, 2020, 8:22pm UTC](https://cl.desmos.com/t/correct-not-working/1358/4 "2020-08-23T20:22:31Z")

</div>

That worked!!

Thank you!
