Checking Text Answer in CL

I have been looking at examples and am still having difficulty getting the correct CL for checks on student answers. I have the following, which gives me the “Check your work…” whether the answer is correct or not.

myPair = parseOrderedPair(input.latex)

content: when input.submitted and numericValue(myPair.x)=7 “Great job!”
when input.submitted and (not(numericValue(myPair.x)=7)) “Check your work to see if you can find your mistake. If you need help, ask your teacher or a classmate.”
otherwise “Enter the IQR in the box below:”

Appreciate the help.