Lock a math or text input on submit?

I know that I can disable the Submit button for inputs using the Computation Layer, but that doesn’t seem to prevent students from making changes to their submission. Is there a way to do this? I want to use Desmos for a short formative assessment, but their ability to change answers after I display the correct one is undermining its usefulness. :slight_smile:

There may be a simpler way, but this worked for me:

  1. Put a Note component on your slide with this in the CL:
hidden: not(in1.submitted)
content: "You entered ${in1.numericValue}"  # or other text
  1. In your Math Input component, which I call in1, put this code in the CL:
hidden: this.submitted
1 Like

Oh, that’s a brilliant workaround. Thank you!