Is there a way of hiding components using CL? At the moment there is a hidden sink for buttons but I can’t see it for any other components.
The use case I have in mind is if I want to send a student back to a previous screen to correct something, I can change the content of the note to instruct them and I can hide buttons but I can’t hide other components on the page (as far as I can tell.)
I would like to be able to have the screen just consist of that note if the user is required to go back and fix something. (Although I would also be happy for a completely different solution to this problem, like disabling the “forward” button if a user has a significant problem on the current screen.)
Ok. I’m still looking for something a bit more elegant (like the equivalent of the hidden sink) but it sounds like this is the best workaround for now. Thanks.
What would this look like with typing code? I am new to computation layer and I want to hide a multiple choice question until they complete a question on a previous page.
I am having difficulty getting it to work. Here is what I have in the code of my multiple choice “whatcolor” (3 options). The previous page has a question (game1choice1) that they need to answer. If they do not answer it, I don’t want the question “whatcolor” to show up on the next page. Is there a way you can help me with this?
thanks!
when game1choice1.isSelected(1) or game1choice1.isSelected(2) or game1choice1.isSelected(3) whatcolor.isSelected(1) = “red”
when game1choice1.isSelected(1) or game1choice1.isSelected(2) or game1choice1.isSelected(3) whatcolor.isSelected(2) = “blue”
when game1choice1.isSelected(1) or game1choice1.isSelected(2) or game1choice1.isSelected(3) whatcolor.isSelected(3) = “green”