Answer Check for Table Inputs

I’m trying to get the grey checkmark to show up when students enter the correct values for the side lengths of the rectangles. My graph is read-only, and I have taken away any possible places that students can enter values in the table except for where I want them to enter values, and I’m still only getting a grey dot.

Any ideas? Thanks in advance!
Lizzie

You have correct as a defined variable, not a sink.
try the code below.

#vars, can use `this` as an alias for current component
figure1number = this.cellNumericValue(1,1)
figure2number = this.cellNumericValue(1,2)
figure3number = this.cellNumericValue(2,1)
figure4number = this.cellNumericValue(2,2)

#single answer boolean
test= 
(figure1number =2) 
and (figure2number = 3) 
and (figure3number = 4) 
and (figure4number = 6) 

correct: test
1 Like

That works perfectly! Thank you!!