I’ve been trying to create an interaction with 5 Select Components with 3 options in each (Do, Might do, Will never do), where I can show differing feedback when the learner chooses mostly one of the options.
I can see that I can ‘Save User Answer to Variable’, but this can only be a String variable and not a Number. I also have the choice to Replace or Concatenate the Variable Save Type.
It would take many triggers to create the logic to check against a concatenated string variable and show feedback based on it.
But, if the variables could be set as numbers and added to, I think it would be easier.
It would appear radio button groups and checkbox groups can only write to string variables too.
Do you think writing to number variables might be available in the future?
Also, is it possible to add to a number variable from within a component? I can do this using triggers if an MCQ is correct or incorrect, but I cannot do this using the Select Components.
I wanted to do something similar but decided I wasn’t able to get the different feedback to trigger. Are you saying it’s currently possible? How would you trigger the largest variable?
Sorry, not really helping you out here, just asking another question
Hi Mitch, I’m going to have another try later today, so I will let you know how I get on.
I may need to rethink how to make this screen, as I don’t think Select Components will work in this situation.
I had hoped to use them to set number variables and then use triggers to show the different feedback based on a number range. I would have used a combination of triggers (Component Completed, Variables Changed) to show the feedback. That was the plan, anyway.
Upvote for saving as number variables!
I’m pretty sure the branching component allows you to save to a number variable instead of a string. Might be worth a go.
Thanks @Ruppers. I’ll take a look at the branching component, as I did not think to use it for this.
Great. Let us know how you go.