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 at all.
The Form Variables panel will open, which shows that the Text Input box has not been assigned to a variable yet ("None").
Select the Text Input Drop-down list.
The Text Input box now displays the string value for the variable we've assigned.
What ever the learner types into the Text Input field will now be saved as the value for the variable.
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.
I'm creating a course with conditions: My stakeholders want to have a pre-test to partially test out of certain modules in the project (3 of the 8 modules with tests would still be required to be watched) and have test questions at the end of each module with a project pass score of 70%. The pre-test test out option wouldn't work in this situation since there are modules that are required to be watched/completed. I created variables for each of the modules that can be tested out of and set th...
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.
Comments ( 0 )
Sign in to join the discussion.