Another question: what if I shuffle the answers? How does this affect the radio button? (e.g. radio button 1 is selected). Does that mean I'll have to remove the 'shuffle' option?
Let's say question 3 has 2 correct answers, and the user only selects 1 out of 2. That question all together should be marked as incorrect, therefore no points associated with it. But when I add the +1 value, it calculates the question the user got right and didn't take into account the fact that he needed to have the other correct answer.
Sorry I'm battling a head cold and I misunderstood - I thought you wanted to add 1 for each choice selected.
You're right Julie
Try this trigger
adjust variable add +1 when user clicks submit on condition that checkbox 1 is not equal to selected AND checkbox 2 =selected AND checkbox 3=selected AND checkbox 4 is not equal to selected. This will weed out the users that check more than box 2 and 3 as that would be incorrect.
In the result page change the text %Results.ScorePercent%% to % Totalcorrect%.
Write the trigger Set Totalcorrect to variable Results.ScorePercent When the timeline starts on this slide
Then write another trigger Divde Totaldcorrect by value 10 when timelinestarts on this slide
Note in my case the total number of questions is 10 and each question has 10 points that’s why I am dividing it with 10. Very important the trigger order has to be followed first get the value from the Results.ScorePercent then divides it with the total number of questions.
10 Replies
Hi Julie
yes that is possible.
Create a trigger on each quiz slide after the submit interaction trigger:
Add +1 to TotalCorrectAnswer when user clicks submit button on condition (e.g. radio button 1 is selected).
You don't need the second variable TotalQuestionsPerProject as the number of questions is a static 10
On the result slide you would have a text box that says something similar to the following
You have answered %TotalCorrectAnswer% of 10 questions correctly.
If you are still stuck, share your .story file and someone can help you.
Thanks, Wendy!
Have I done this correctly?
Another question: what if I shuffle the answers? How does this affect the radio button? (e.g. radio button 1 is selected). Does that mean I'll have to remove the 'shuffle' option?
Thanks !
Julie
What about multiple answers? Should I create 2 triggers then? Let's say for radio button 3 and radio button 4?
Thanks,
Julie
Hi Julie
shuffle shouldn't affect as it moves the entire line item on shuffle including the radio button.
Yes for multiple responses to add you'll need two triggers.
Right !
But, for the multiple answers...
Let's say question 3 has 2 correct answers, and the user only selects 1 out of 2. That question all together should be marked as incorrect, therefore no points associated with it. But when I add the +1 value, it calculates the question the user got right and didn't take into account the fact that he needed to have the other correct answer.
Am I making sense?
Any thank you for your help!
Julie
Sorry I'm battling a head cold and I misunderstood - I thought you wanted to add 1 for each choice selected.
You're right Julie
Try this trigger
adjust variable add +1 when user clicks submit on condition that checkbox 1 is not equal to selected AND checkbox 2 =selected AND checkbox 3=selected AND checkbox 4 is not equal to selected. This will weed out the users that check more than box 2 and 3 as that would be incorrect.
let me know how you go.
Thank you!!!!!!! It worked!
Have a great day :)
Yay Julie 👍👍👍
I have another suggestion
Create a number variable named Totalcorrect.
In the result page change the text %Results.ScorePercent%% to % Totalcorrect%.
Write the trigger Set Totalcorrect to variable Results.ScorePercent When the timeline starts on this slide
Then write another trigger Divde Totaldcorrect by value 10 when timelinestarts on this slide
Note in my case the total number of questions is 10 and each question has 10 points that’s why I am dividing it with 10. Very important the trigger order has to be followed first get the value from the Results.ScorePercent then divides it with the total number of questions.
This discussion is closed. You can start a new discussion or contact Articulate Support.