Is there any way to access the text of each choice in the CL?
Because I am catering for EAL students, it’s vital that I prove sentence frames to scaffold them in the “explain your thinking” boxes, and often that needs to include the text of their choice.
But repeating the text in the CL code is not very robust. Setting the text in the CL is okay, but less than optimal for other teachers.
I think you’re right, there’s no easy way to get CL to insert the text from the choice. It sounds like you already tried this method, but this example sets the initial choices by using variables, but I think it’s more typing in the end.
for something with 2 choices: selectedContent = when this.isSelected(1) this.choiceContent(1) otherwise when this.isSelected(2) this.choiceContent(2) otherwise “”
for something with 4 choices: selectedContent = when this.isSelected(1) this.choiceContent(1) otherwise when this.isSelected(2) this.choiceContent(2) otherwise when this.isSelected(3) this.choiceContent(3) otherwise when this.isSelected(4) this.choiceContent(4) otherwise “”