True False states only partially being recognized

Dec 29, 2023

Hi,

I have 5 true/false questions.  

When a learner clicks TRUE they get the visited state

When a learner clicks FALSE they get the false state

The triggers function the same way so I have no idea why I can't get to the true state when learner clicks button TRUE

No idea :-(

Please Help

Thanks 

3 Replies
Phil Mayor

A couple of things: trigger order is important, so put the variable change above the state change trigger. On the variable change, you have a condition; you will need to delete that, as you cannot change a variable to true on the condition it is true. This works for false as it is already false, but I would also remove that.

I think it would have been easier to use the selected state with button sets.

Bill Gates

OK, 

Now we have button sets!  

That makes much more sense.

So my question now is i have for button 1 true:

set sate of button 1 to true when user clicks button 1 true

adjust variable S01_hospitality_TF_Q1 to value True when user clicks button 1 true

button false is the same except set to false.

Here's my question.  With each true false variable i have

section_brantch_questionType_questionNumber,   S01_hospitality_TF_Q1 - Q5

When user clicks true the variable adjusts to true and adjusts to false when user clicks false.

After all 5 true false buttons have been clicked, I'll end up with whatever value was last clicked in the button set.  True or False.

So how do I track if they got the True False question correct or incorrect if my variable just sets itself to whatever the user clicks, True, False, that's the value of the variable. 

How now do we track if the user got the question correct or incorrect and score them with say 10 points?

Thanks again