How to set a button to increase a variable by 1 when a button is clicked.
Steps to set a Marker on a Video to increase a Variable.
You can use this when you want to launch an action after an Element(s) within a Video is clicked.
We're using a single in-line text input field with an associated variable (per screen) instead of the standard Short Essay question template (we have reasons for not being able to use the template, mostly to do with being unable to disable the default template pop-ups)
We want to have feedback displayed when a custom Submit button is clicked and we want that feedback to stay visible even after they navigate away and back to the screen. This is so they don't have to click on the S...
Learn how to add a Variable to Elements within a video, to show an Element once the Variable is triggered.
When designing content, you may change your mind. What happens when you have a two column layout but you want a three our four column design instead?
I'm currently trying to create a show and hide interactive, but I want to make it, so on load it's hidden, but then once you click a button it shows, and stays visibile forever. Currently when I use the show/hide actions, then I navigate back to the page, the element hides again.
To get around this I've been using variables, set to true, and then the element shows when the variable is true. This seems to hold even when going back to the page, but it's a ime consuming process. Having to ...
Steps to set a Page to evaluate a Custom Variable and when it equals the required value to trigger an Enable Next Player Control action.
In this use case, we have three buttons on a page and we want to know that all three have been selected before we allow the learner to leave the page. Before this lesson we set up actions so that as the leaner clicks each button a custom variable is increased by 1. Once all three buttons have been clicked the variable's value will be 3.
This lesson outline...
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.
After you've set up an Action you can change the Trigger at any time.
In this example we have previously set up an action to show a text element when Button 1 is clicked. We'll change it to be triggered by Button 2 instead.
Comments ( 0 )
Sign in to join the discussion.