# Giving feedback to students after filling in Table

**URL:** <https://cl.desmos.com/t/giving-feedback-to-students-after-filling-in-table/3073>\
**Category:** Questions\
**Tags:** dashboard, validation, correctness\
**Created:** [April 9, 2021, 2:04pm UTC](https://cl.desmos.com/t/giving-feedback-to-students-after-filling-in-table/3073 "2021-04-09T14:04:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Hughes](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_hughes/32/2551_2.png) [@Daniel\_Hughes](https://cl.desmos.com/u/Daniel_Hughes)\
**Post date:** [April 9, 2021, 2:04pm UTC](https://cl.desmos.com/t/giving-feedback-to-students-after-filling-in-table/3073/1 "2021-04-09T14:04:19Z")

</div>

Hi,

I am trying to give feedback to students whether they got the answers correct after they input their responses into a table.

Using this so far:

In Table2 components:

correct:(Table2.cellContent(1,2)=“opposite” or Table2.cellContent(1,2)=“Opposite” and Table2.cellContent(2,2)=“Adjacent” or Table2.cellContent(2,2)=“adjacent” and Table2.cellContent(3,2)=“Hypotenuse” or Table2.cellContent(3,2)=“hypotenuse”)

This shows me a check mark if they got it correct in my dashboard, but I want them to see feedback.

I tried this in my Note2 component.

content: when Table2.submitted “Well done!” otherwise “Incorrect. Try Again!”

Incorrect. Try Again! would display but never change to Well done! when the answers were input into the table.

Am I close?

Thanks for your help.

Dan

---

<div class="post-metadata">

**Author:** ![Daniel\_Hughes](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_hughes/32/2551_2.png) [@Daniel\_Hughes](https://cl.desmos.com/u/Daniel_Hughes)\
**Post date:** [April 9, 2021, 2:39pm UTC](https://cl.desmos.com/t/giving-feedback-to-students-after-filling-in-table/3073/2 "2021-04-09T14:39:09Z")

</div>

> [@Daniel\_Hughes](#):
>
> content: when Table2.submitted “Well done!” otherwise “Incorrect. Try Again!”

I actually just figured it out. You need to assign a variable to the same Boolean statement that is in correct, then access that variable in note2 use the script keyword.

Note2

content: when Table2.script.answer “Well done!” otherwise “Incorrect. Try Again!”

Table2

answer = (Table2.cellContent(1,2)=“opposite” or Table2.cellContent(1,2)=“Opposite” and Table2.cellContent(2,2)=“Adjacent” or Table2.cellContent(2,2)=“adjacent” and Table2.cellContent(3,2)=“Hypotenuse” or Table2.cellContent(3,2)=“hypotenuse”)

Fun fun, thanks anyway. Hopefully this can help someone else out.

---

<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:** [April 9, 2021, 10:43pm UTC](https://cl.desmos.com/t/giving-feedback-to-students-after-filling-in-table/3073/3 "2021-04-09T22:43:21Z")

</div>

I usually name my Boolean “check” (as you did “answer”), then use that for both feedback and correct sinks. So, for your correct sink (without changing your Boolean’s name):

```auto
correct: answer

```

(You don’t need the .script.answer because it’s in the same component.)
