Storyline 3 : how to make checkbox each checkbox answer have have

Apr 01, 2021

Hello, i'm new to storyline, i want to create something like survey/question with checkbox and it have 8 answer, and if you check 1 answer it have value of 12.5% grade,  if you check 2 answer u have 25% grade, you check 3 answer u have 37.5% grade and so on, is it possible?

i want each checkbox have 12.5% value, and if user check all 8 checkbox, they got 100%

1 Reply
Judy Nollet

Hi, Singgih,

  • Create a number variable with a default value of 0. For this example, let's call it Grade.
  • Create a button to score the survey results (or assign that task to the Next button). 
  • For each checkbox, add a trigger to the button that adds 12.5 to the Grade variable with the condition that the state of the corresponding checkbox is Selected. (The condition will prevent the score from being added if the checkbox isn't selected.)  Because there are 8 answers, you'll need 8 triggers. 
  • The result: the Grade variable will contain the number you want (12.5 x the number of Selected checkboxes). 
  • You can show a variable's value by entering a percentage sign, the variable name, and another percentage sign without any spaces (%name%). In this example, you would enter %Grade%
    • The percentage signs in the variable reference don't display as such. They're there to tell the program that the text is a variable reference. 
    • If you add another percentage sign after the variable reference, that percentage sign will display in the text. 

For more info about conditions and variables, check out the User Guide: