Steps to set an element to increase a Custom Variable by 1 when the learner clicks on the element.
In dominKnow | ONE, you create a Custom Variable as part of setting up the first action that will set its value. (You don't need to create the varibale first then create the action to set its value.)
In this example the action is set to fire only once so if the learner clicks on the element more than once, the variable's value isn't increased after the first time click.
After this first actio...
You can use a button to set a Boolean variable to True or False. In this example, we're setting the Variable to True to track that the learner competed the Page by using the Return To Menu button. We can then evaluate the Variable's state on other pages and use it to trigger other events.
Allow your users to skip the content and take the test.
I have a set of variables like var1, var2, var3.
When all variables have a value of 1, I want o set variable part1 to 1 or any other value.
I know that I could use a trigger everytime var# changes to 1 and check a condition if the other 2 vars are 1, then set part1 to 1, but it's not very efficient and gets messy if we add more variables to track.
Is there a way to constantly monitor the values of var1, var2 and var3 and when all are 1, set the new variable?
Steps to assign the value of a Text Input box to a variable so it can be saved and used later in a course or other project.
In this example, we've previously added the Text Input box to the page.
dominKnow | ONE doesn't automatically create a variable and assign it to the Text Input box because we can't predict what your design intention is. You might wish to use a variable already created on another page in the same project, for example, or you may not even wish to save the typed-in text a...
Keyboard Navigation Trick for displaying a button only when keyboard navigation gives the button focus