I have created a quiz with a custom player/toolbar. It submits the answers when the user clicks on the right arrow. Everything works great except it doesn't force them to answer the question before proceeding (the invalid answer pop-up doesn't show up). Is there something I need to do to make this work?
When you remove the built in Submit button, you also remove the built in "invalid answer" feedback. If you would like users to answer all the questions before submitting to the results slide, you may want to look at this tutorial, which describes how you can ask users to confirm that they have answered all the questions and are ready to submit their answers before they get to the result slide.
I needed a way for a pop-up to appear if an answer is not selected on each page to force them to select an answer so that it scores properly. I have built this on the "next button" - so when they click it, it checks for answer and if one isn't selected it triggers the pop-up. If an answer is selected, clicking the next button goes to the next page - which also changes the page number.
I have that working, but the issue becomes if they go back it resets the variable to zero but doesn't deselect the answer. I need it to not reset the variable to zero if there is an answer already selected so that the pop-up on the next button doesn't appear. I think i need a trigger that checks if an answer is selected then doesn't change the variable back to zero. Just not sure if that is possible or where to put it (on back button?)
I have attached the file, but the variables etc. are only on the first two questions in the quiz.
The invalid answer popup is fired by the submit interaction trigger, without that it will not work and you would need to manually build a layer for each one.
If you use the next slide triggers instead it will score on the results slide but will not send the interaction data back to the LMS
Unfortunately I do not think the way you have this set up on the master slides is going to work as you need. By using the master slide, you are using the same variable for every question. I have changed the first 2 question slides here but adding the triggers on a slide level.
When you go to review the quiz, the pop up will not appear the second time around. Let me know if this works.
I have just run a test on the flash content and it sends the data to scormcloud and articulate online, I have heard from some users that the HTML5 does not send the data with a next slide trigger (never tested this though)
Ok, back to my original question, Emily, that works, sort of. But my page numbers get all screwed up when going back and forth and on the review.
What i need to accomplish is to have the page numbers work in all situations (going forward, back, and in the review resetting to 1 and going forward and back), as well as have the user be "forced" to choose an answer (pop-up or some other solution). I just can't seem to wrap my head around how to get this to work. Any thoughts? Different approach?
The page number variable was set to add +1 when the timeline starts. What you may need to do, if users will be able to go back to the questions for review, is add a second variable for each slide. Maybe a true/false, and when the question is submitted have it change to true. Then you would need to adjust the question count trigger to only add +1 on condition that the other variable is set to its default. (false)
I am sure if anyone has a different idea, they will chime in.
13 Replies
Hello Lisa,
When you remove the built in Submit button, you also remove the built in "invalid answer" feedback. If you would like users to answer all the questions before submitting to the results slide, you may want to look at this tutorial, which describes how you can ask users to confirm that they have answered all the questions and are ready to submit their answers before they get to the result slide.
Hi Emily,
I needed a way for a pop-up to appear if an answer is not selected on each page to force them to select an answer so that it scores properly. I have built this on the "next button" - so when they click it, it checks for answer and if one isn't selected it triggers the pop-up. If an answer is selected, clicking the next button goes to the next page - which also changes the page number.
I have that working, but the issue becomes if they go back it resets the variable to zero but doesn't deselect the answer. I need it to not reset the variable to zero if there is an answer already selected so that the pop-up on the next button doesn't appear. I think i need a trigger that checks if an answer is selected then doesn't change the variable back to zero. Just not sure if that is possible or where to put it (on back button?)
I have attached the file, but the variables etc. are only on the first two questions in the quiz.
Remove the next slide trigger and ensure you add a submit interaction trigger
That won't work. I have my triggers on a pre-made button on my master page.
My answers submit fine, provided the user selects an answer. I need the pop-up to ensure that they choose an answer.
The invalid answer popup is fired by the submit interaction trigger, without that it will not work and you would need to manually build a layer for each one.
If you use the next slide triggers instead it will score on the results slide but will not send the interaction data back to the LMS
Hello Lisa!
Unfortunately I do not think the way you have this set up on the master slides is going to work as you need. By using the master slide, you are using the same variable for every question. I have changed the first 2 question slides here but adding the triggers on a slide level.
When you go to review the quiz, the pop up will not appear the second time around. Let me know if this works.
So if I just submit my results at the end of the quiz, each individual question is not submitted to the LMS just the final score is submitted?
I have just run a test on the flash content and it sends the data to scormcloud and articulate online, I have heard from some users that the HTML5 does not send the data with a next slide trigger (never tested this though)
Ok, back to my original question, Emily, that works, sort of. But my page numbers get all screwed up when going back and forth and on the review.
What i need to accomplish is to have the page numbers work in all situations (going forward, back, and in the review resetting to 1 and going forward and back), as well as have the user be "forced" to choose an answer (pop-up or some other solution). I just can't seem to wrap my head around how to get this to work. Any thoughts? Different approach?
Hello Lisa,
The page number variable was set to add +1 when the timeline starts. What you may need to do, if users will be able to go back to the questions for review, is add a second variable for each slide. Maybe a true/false, and when the question is submitted have it change to true. Then you would need to adjust the question count trigger to only add +1 on condition that the other variable is set to its default. (false)
I am sure if anyone has a different idea, they will chime in.
We couldn't figure out a solution that works, so we just took the back
button off and it seems to work fine.
Thanks for the update, glad you found a solution!
Not really what I was hoping for, but it will work.
This discussion is closed. You can start a new discussion or contact Articulate Support.