Adjusting number variables based on 'selected' state

Sep 03, 2014

Hi all,

I'm hoping someone can provide some help with this complex scenario…. (apologies for the long winded explanation)

I have 20 questions which require the learner to rate themselves on a scale of 1 to 5 (similar to a likert scale) for each of the 20 questions.

Each option has been created using a radio button and each has a trigger that adds the appropriate score to the total score (e.g. if the learner clicks radio button 1, it adds a score of 1, radio button 2 adds a score of 2, etc).

Each trigger is designed to add the score based on the selected state of the radio button - where the 5 options for each question are arranged in a button set of 5 radio buttons (only one choice per question).

Given there are 20 questions, I have had to split the 20 questions over 2 slides: Part 1 and Part 2.

I have set each slide to 'resume saved state' when the learner revisits - this allows the learner to double check if they have missed anything or if they want to change something.

I have set up a PREV button on Slide Part 2, which allows the learner to go back to the first 10 questions on Part 1. (on clicking PREV, the total score resets to zero). 

Here is my problem… Upon revisiting Part 1, the total score is set to zero, and there is a radio button 'selected' for each of the 10 questions (based on the learner's previous interaction with the slide).

Testing example: The learner only wants to change their answer for 1 question out of the 10, and therefore only interacts with 1 question/radio button on their second visit.

The other 9 'selected' answers/radio buttons do not get touched by the learner.

The problem is, when the learner clicks NEXT to go back to Part 2, the trigger for the 'selected' state of these 9 buttons does not activate.

I could not work out how to design a question slide that allows me to submit a different score for each option on a likert scale, and the survey questions do not score either.

This means I do not have a 'submit interaction' trigger when the learner clicks NEXT.

So is there any way to get my triggers to recognise untouched selected states?

At this point, my only option is to change the state of the slide to 'reset to initial state' when revisiting, but this will make the learner have to re-enter their responses for each question.

My ideal scenario is to allow the learner to revisit their previous selections and change only the ones they want to.

Again, my apologies for the long winded explanation. I hope I've painted a clear picture of my scenario.

Any help, including a better way to design this, would be greatly appreciated.

Currently, each slide has 50 triggers on it (one for each radio button), so it has been a laborious exercise to this point. (especially when I originally designed each trigger to add a number variable when the user clicks - rookie mistake!)

Thanks so much

4 Replies
Phil Mayor

Instead of adding I would assign a value to a separate variable for each question when the the user clicks a radio button. I would only add the totals when you click next (using triggers to add a lll the variables together), also on the next button I would add a trigger that resets the total to 0 as the first trigger.

This way the score is only adjusted when you change a selection otherwise it is stable.

Leonard Puglia

Hi Phil,

I followed your advice and achieved great results.

There were a few hurdles to overcome, but I got there.

The main crux of my problem was to safeguard against the learner changing their mind for each question, (i think i'm a 4; no wait, I'm a a 5; no really, I'm a 4) If the user clicked a radio button for each time they changed their mind, they'd keep adding to the total score!

Assigning a variable to each question and then adding them on the next button was clearly the way to go. Along with some other triggers to account for the questions going over 2 slides, I got the result I was looking for.

Thanks again Phil.

This discussion is closed. You can start a new discussion or contact Articulate Support.