So, I’m trying to edit one of my activities to make it more students self-paced. My goal is to have students type the ‘set-up’ into the table first and get that all correct prior to typing their final answer into the input. So I’m trying to use the errorMessage sink, but I’m struggling- When I type the table correctly the error message doesn’t go away? Any ideas/suggestions, advice? I want to use this technique for the whole activity, which will have some more complex tables later on, so I want to make sure I understand how to do this for the smaller one.

**Table Code:**

#tablevalues

a1=Table1.cellContent(1,2)

a2=Table1.cellContent(2,2)

a3=Table1.cellContent(3,2)

a4=Table1.cellContent(4,2)

checkf1=simpleFunction(a1).evaluateAt(1)=1 and simpleFunction(a1).evaluateAt(3)=3

checkf2=simpleFunction(a2).evaluateAt(1)=1 and simpleFunction(a2).evaluateAt(3)=1

checkf3=simpleFunction(a3).evaluateAt(0)=-1

checkf4=simpleFunction(a4).evaluateAt(0)=1

cellSuffix(1,2):

when checkf1 “”

otherwise “”

cellSuffix(2,2):

when checkf2 “”

otherwise “”

cellSuffix(3,2):

when checkf3 “”

otherwise “”

cellSuffix(4,2):

when checkf4 “”

otherwise “”

readOnly: true

**Input Code:**

suffix: “+C”

errorMessage: when (not(Table1.script.checkf1 and Table1.script.checkf2 and Table1.script.checkf3 and Table1.script.checkf4 and Table1.submitted) or not(Table1.submitted)) “Go back and check your table set up.” otherwise “”

check1=simpleFunction(q1.latex).evaluateAt(0)=-1 and (simpleFunction(q1.latex).evaluateAt(1)>-0.8 and simpleFunction(q1.latex).evaluateAt(1)<-0.7)

correct: (check1)

**Slide:** Error Code â¢ Activity Builder by Desmos

Thanks, Everyone!