The Header text element on the page now shows the full variable string for the Page title system variable.
This setting will remain on as you work, unless you select the Show Variables button again to switch back to displaying the {x} variable placeholder.
Select Show Variables.
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.
As you create a Project, you’re adding in all kinds of information like the Project’s name, the names of Pages it contains, or what the passing score is for a test.
A lot of that information is available as a System Variable that you can display in a text element.
This example shows how to set a text element to display the System Variable for the name of the Project.
These same steps apply to any of the other available System Variables.
You can display the value of a variable as part of a text element. In this lesson we'll set up a text element so it shows the text the learner types into a Text Input form control (their name) on the page as a simple example.
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.
This interactive game, inspired by MadLibs, uses Text Input form controls to capture your typing and save it as a variable. Then, the text element displays the associated variable for each type-in field within the story text.
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.
As you create a Project, you’re adding in all kinds of information like the Project’s name, the names of Pages it contains, or what the passing score is for a test.
A lot of that information is available as a System Variable that you can display in a text element.
This example shows how to set a text element to display the System Variable for the name of the Project.
These same steps apply to any of the other available System Variables.
You can display the value of a variable as part of a text element. In this lesson we'll set up a text element so it shows the text the learner types into a Text Input form control (their name) on the page as a simple example.
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.
This interactive game, inspired by MadLibs, uses Text Input form controls to capture your typing and save it as a variable. Then, the text element displays the associated variable for each type-in field within the story text.
Comments ( 0 )
Sign in to join the discussion.