Show variable value in a Text Block

Hi, I searched this forum but I just want to confirm if there was any better way to do this.


I'm creating an assessment with 100 questions. Each question belongs to a course objectives. I have about 20 objectives which will display in the result page at the end. What I like to do is to display how many questions they got correct from each objective so it would show something like this:


Object 1: How to use system. (2 out of 5 correct)

Object 2: Open an account. (3 out of 3 correct)

20 objectives like these....


I know you can setup a Action for each variable and update the Text Block but I have to create 20 Text blocks and actions. I was wondering if any one have easier way to do this like I can just plug in the variable name in the Text Block such as (var(correct_object1) out of 5 correct)


Thanks!

Discussions have been disabled for this post