Need your advice about how to write the script on multiple choice. My scenario is to allow the learner to select more than 1 correct answer and the next button then appears. If the learner select 1 correct answer and the next button appear, the learner will go to the next slide. But there is 1 more correct answer for them to select. I have made trial and error to handle this issue but all I can do is to show the next button once the learner chooses 1 correct answer. Below is my conditional action script for you to consider.
You're going to need a more complex Conditional Action than this to achieve what you want. You'll need a separate Decision Block for each possible permutation of answers.
You appear to have only three answers to choose from on the question (based on the fact that you have only three variables tracking what the learner selects). So, I am assuming that two of the three answers are correct and the third one is incorrect. Is that so?
If I am correct, then you need to work out what should happen for each of these circumstances:
Only if you know what should happen in each case will you then be able to design how the Conditional Action should work.
Could be easy, but from the script you are showing (do not know the Preview button for Advanced actions?) the setup is rather complicated and you don't explain the setup. Why do the answers have to be greater than 0, is this about number answers?
It can be very complicated (see Rod's answer) or very simple.... depending on what exactly you want.
Simple: if yoy only want to realize that Next button appears after having selected three correct answers, and you are fine with disabling the shape button with the answer (I suspect that you use shape buttons for the answers), it can be done with one counter variable and a two-decision action for each correct button. However without more details about what you want, impossible to explain.
Dear Lilybiri and RodWard
To answer your question. I have set up 4 choices for the learner to select and 3 of them are correct. If the learner select 1 or 2 correct answer, the next button won't appear til all 3 are selected.
Yes, I use shape button for the answer so can you help me to find out how to write "one counter variable and a two-decision action for each correct button".
Action script is very complicated to me and I would like to learn more to do it better so hopefully both of you won't bothered with my uncomfortable questions.