Have a look ath the attached and see if that's what you wanted. I added one slidetrigger that changes the Next button to Normal When the variable changes and the variable =4.
Hi! I also have a problem with a number variable in my simple 5 question quiz. My variable doesn't seem to be adding up. At the end of the quiz I want the participant to get a message depending on the correct answers, that shows the number of correct answers.
Trigger order is very important. On your correct layer you have the layer closing, jump to another slide, then adjust the variable. The trigger to adjust the variable to count correctanswers is never executing.
Move the trigger to the top of the list. Here is a KB article to assist you with trigger order
I didn't know that triggers had to be in order but it makes a lot of sense. It seems to work perfectly now!
Sorry, on another note I forgot to mention a funny thing that happens between questions 4 and 5 and after 5. I copy-pasted the same triggers for all buttons, however after clicking on button 4, I can see how button 5 changes state already before the question slide appears and same after clicking on button 5, I can see how the state of this button changes before the question slide appears. This doesn't happen with all first 3 questions and I'd like it to be this way for all. Am I doing something else wrong?
8 Replies
Have a look ath the attached and see if that's what you wanted. I added one slidetrigger that changes the Next button to Normal When the variable changes and the variable =4.
Thanks, Michael!
That worked perfectly! You're awesome..always so helpful.
Hi!
I also have a problem with a number variable in my simple 5 question quiz. My variable doesn't seem to be adding up. At the end of the quiz I want the participant to get a message depending on the correct answers, that shows the number of correct answers.
Can you take a look at it?
Thanks!
Hi Amaia
Trigger order is very important. On your correct layer you have the layer closing, jump to another slide, then adjust the variable. The trigger to adjust the variable to count correctanswers is never executing.
Move the trigger to the top of the list. Here is a KB article to assist you with trigger order
Thanks so much Wendy!
I didn't know that triggers had to be in order but it makes a lot of sense. It seems to work perfectly now!
Sorry, on another note I forgot to mention a funny thing that happens between questions 4 and 5 and after 5. I copy-pasted the same triggers for all buttons, however after clicking on button 4, I can see how button 5 changes state already before the question slide appears and same after clicking on button 5, I can see how the state of this button changes before the question slide appears. This doesn't happen with all first 3 questions and I'd like it to be this way for all.
Am I doing something else wrong?
Thanks in advance!
Hi Amaia
See updated file and have a look at how I changed the triggers on the second slide to 'when timeline starts' instead of 'when variable changes'.
Hope this is what you are after.
Thanks Wendy! I still need to figure out the reason for the different reactions but this is indeed very helpful!
Your first Q1 icon had different colour states to the others - perhaps check those
This discussion is closed. You can start a new discussion or contact Articulate Support.