Forum Discussion
Assigning points to a slider object for quiz
I have a 10 question assessment. One slide in the assessment contains a slider and the correct answer is "7". I have assigned values to the stops along the slider and have assigned a trigger to show the correct and incorrect layer for feedback. Unfortunately, because it is not a question slide, I can not assign it a point value so the final score is not calculating this question. I have tried to incorporate the slider on several types of question slides, but have not been successful. I have also tried triggers that add/subtract points to the QuizScore variable when user clicks submit if Slider=value7 else subtract points, but that did not work, either. Any suggestions?
I may just need to make a number question where they type in 7, but I liked the visual of the slider.
- JudyNolletSuper Hero
You can score the slider by putting it on a disguised multiple-choice slide.
- Set up a Multiple-Choice (or Freeform Pick One) question with two responses: Correct and Incorrect.
- Hide those response buttons from the user by covering them. Or you can move them off the slide if you're using a Freeform. You also need to delete them from the Focus Order to ensure they're not accessible via keyboard or seen by a screen reader.
- On the Submit button, add a trigger that changes the appropriate response button to the Selected state based on the slider value. That would look like this:
- Be sure that trigger comes before the "Submit __" trigger.
- PhilMayorSuper Hero
Or use a number question and update the value when the slider value changes (better to do that way as sometimes it bugs out if you just assign the question variable to the slider).
- NedimCommunity Member