Feedback in Table

I know there’s already a lot here, but is there anyway to have feedback pop up for incorrect answers? If I change it to say: otherwise “:-1:t2:“, it has the thumbs down symbol on the cell already.

Also, is it possible to have a cell check a ratio instead of an approximation? We’re working on trig ratios, and I want them to get in the habit of writing the ratio

cellContent(1,3): when table1.cellNumericValue(1,2)<0.9757 AND table1.cellNumericValue(1,2)>0.9756 “:+1:” otherwise “”

cellContent(2,3): when table1.cellNumericValue(2,2)<0.2196 AND table1.cellNumericValue(2,2)>0.2195 “:+1:” otherwise “”

cellContent(3,3): when table1.cellNumericValue(3,2)<4.4445 AND table1.cellNumericValue(3,2)>4.4444 “:+1:” otherwise “”

cellContent(4,3): when table1.cellNumericValue(4,2)<1.026 AND table1.cellNumericValue(4,2)>1.024 “:+1:” otherwise “”

cellContent(5,3): when table1.cellNumericValue(5,2)<4.5556 AND table1.cellNumericValue(5,2)>4.5555 “:+1:” otherwise “”

cellContent(6,3): when table1.cellNumericValue(6,2)<0.226 AND table1.cellNumericValue(6,2)>0.224 “:+1:” otherwise “”


table1.cellNumericValue(1,2)<0.9757 AND table1.cellNumericValue(1,2)>0.9756 AND

table1.cellNumericValue(2,2)<0.2196 AND table1.cellNumericValue(2,2)>0.2195 AND

table1.cellNumericValue(3,2)<4.4445 AND table1.cellNumericValue(3,2)>4.4444 AND

table1.cellNumericValue(4,2)<1.026 AND table1.cellNumericValue(4,2)>1.024 AND

table1.cellNumericValue(5,2)<4.5556 AND table1.cellNumericValue(5,2)>4.5555 AND

table1.cellNumericValue(6,2)<0.226 AND table1.cellNumericValue(6,2)>0.224

cellDisableEvaluation(1,2): true

cellDisableEvaluation(2,2): true

cellDisableEvaluation(3,2): true

cellDisableEvaluation(4,2): true

cellDisableEvaluation(5,2): true

cellDisableEvaluation(6,2): true

You can use add an initial when condition to check if the cell is blank, then change your otherwise to your thumbs down.

cellContent(1,3): when isBlank(table1.cellContent(1,2) ""
when table1.cellNumericValue(1,2)<0.9757 
AND table1.cellNumericValue(1,2)>0.9756 “👍” 
otherwise “👎”

You can string as many when’s as you want before a final otherwise. Just note, they will be read in order and once a condition is met, it stops reading through and outputs whatever the result for that line.

I think you mean to check for answers like sqrt(3)/2. You can check the latex code like this:

disableEvaluation: true
check= this.latex=`\frac{\sqrt{3}}{2}`
correct: check