Forum Discussion

DanielaRiesinge's avatar
DanielaRiesinge
Community Member
7 months ago

Increasing a Variable with matching elements questions

Hello everyone,
I would like to realize partial points for a quiz using a variable. In the case of multiple choice questions, I have no problems, but with this question type I can't find a trigger option that increases my variable. Or is it a bug?

I would like to increase my variable when an element is correctly assigned.
That's why I tried to use the trigger, if matching element is placed correctly, then increase my variable by 1.
Unfortunately nothing happens :(
Can anyone help me?
I am sorry that the screenshot is in German.

By the way, I haven't been working with Storyline for long

Regards
Daniela

  • Hi there. I do not think this is possible without programming in JavaScript. There are not any object states nor variables that can be used to determine if an element has the correct value selected, therefore it is all or nothing I'm afraid.

    The only way to achieve this, without JavaScript, would be to build your own matching question.

    If you are or have access to an experienced JavaScript programmer, it could be achieved by watching for object mutations.