I’m still trying to understand how Correct works when you are trying to check that multiple components on the same screen are correct?
I don’t quite understand when/where to use the “readOnly” command, but I did see that this is needed if checking for multiple components.
And what happens if I have components that are hidden once students are correct. If a component is hidden and includes the CL to check for correctness, then it won’t appear as correct on the teacher dashboard?
In this activity, slide 21 is coded so that a choice disappears once students select the correct choice. I originally had it so that the last choice disappeared once correct. So I’m guessing that the correctness wasn’t showing because the last choice that contained the correct sink was hidden?
UPDATE: I did get the correct check to appear after I added submit buttons and time since submit. But I’m still confused as to what was happening before.
All components that you want considered part of correctness must have a correct sink being used (except if you are using default correctness with MC, checkbox, or ordered list).
All components that you don’t want considered part of correctness must have readOnly:true in their CL
Important note: if there are any components with text input (textbox, explain your answer) or sketch input as part of correctness, then you can only get DOT correctness, and not a check (dot indicates that there is something that can’t be evaluated by Desmos).
The hidden sink does not impact correctness
Let’s say you have some components on the screen, but you only care if the final answer in an input box and a MC component is correct. So you would set the correct sink in that input box and the MC component (or just use it’s default correctness), and then set all the other components to readOnly:false.
I hope that helps - let me know if you have questions.