Forum Discussion

JeremyLippart's avatar
JeremyLippart
Community Member
2 years ago

Difficulty with adding values on numerical variables

I'm trying to build my own assessment template (I don't really like the ones that come with Storyline). The issue I'm running into is with a simple numerical variable. 

I have a trigger that adds 1 point if the correct radial button is selected when the user clicks submit. There is a second trigger that advances to next page when the submit button is clicked as well. The Add 1 to the score variable trigger occurs before the advance slide trigger.

However, the story is advancing the slide without adding the value. If I disable the advance slide trigger I can see that the value add trigger is working correctly (I have a textbox with %score% on the screen. I've enclosed a copied version of the story & a video showing the error and I'm hoping someone has a solution/suggestion

    • JeremyLippart's avatar
      JeremyLippart
      Community Member

      Sandeep, thanks I think I'm able to build off the changes you made. 

      It seems like the only difference is you changed the trigger "add value when..." to be dependent on the state of the button icon rather than the radio button (as I had it set up). Is there any reason why this worked? Seems like it should have functioned the same way regardless. I'm wondering if this is a bug to report