Forum Discussion

FoN's avatar
FoN
Community Member
11 months ago

Can a user select specific questions to answer?

I have a scenario where I have 10 sets of questions that can be answered, with each set having three or four questions in. I want the user to be able to select a subset of these sets. I would like them to be able to choose, say, question sets 1, 3 4, 7 and 10, and then to go on and answer only those questions, and not 2, 5, 6, 8 and 9.

Is this possible with Storyline or Rise?

  • As I understand it, you want them to select some sets from the available 10 sets of questions. It is possible to do that with Storyline. Use variables to track what the user wants to answer. Then use conditional triggers to steer the user to the chosen sets. 

    For selecting and tracking which sets to view, you could do this: 

    • Use a radio button for each set. Those automatically toggle between Normal and Selected when clicked.
    • For each set, create a T/F variable with a default value of False.
    • For each button, add a trigger that adjust the corresponding T/F variable to True when the button is clicked with the condition that the state = Selected. Include an "Else" action in the trigger that adjusts the variable to False (so it will return to False if the button is deselected). 

    To steer the user to the chosen sets, use conditional triggers on the appropriate NEXT buttons so they jump to the next selected set based on the value of the variables. 

    • On the last slide of each set, use multiple "jump to" triggers on the NEXT button. Each trigger would jump to the first question in a subsequent set with the condition that the associated variable = True.
      • For example, the first trigger would be "Jump to set 2 if the set 2 variable = True." The following trigger would be "Jump to set 3 if the set 3 variable = True." 
      • As long as you put the triggers in the numerical order of the sets, the program will go to whatever the "next" selected set is (that is, the next set for which the associated variable is True). That's because the program can't run a trigger after it has left the slide where the trigger is. So, for example, if the trigger to jump to set 2 runs (thus taking the user to the set-2 questions), the subsequent triggers for jumping to other sets won't run. 
    • The final trigger would jump to whatever slide should appear after the last question of the last chosen set is answered.

    FYI: I'd put each set of questions into its own scene. I think that makes it easier to organize the file. And it makes programming a bit easier, since the "Next" triggers could jump to a given scene, instead of jumping to a specific slide. Then you wouldn't have to revise the triggers, even if you re-arranged which question comes first in the set.

    It's not possible to do what you want in Rise. (Well, not unless you put it all into one Storyline block in Rise.)

  • Yes. You create a selection first. You then need to show the selected questions. Out of the blue im not sure this is doable with plain Storyline actions. With some javascript you  can just set the questions needed.

  • FoN's avatar
    FoN
    Community Member

    Wondering whether this will be easier with Storyline or Rise. I've never used Rise before, just tinkered with it, but it looks pretty intuitive.

  • FoN's avatar
    FoN
    Community Member

    Thank you, Judy - that's a brilliant and definitive answer, which I'll carry into my project!