Forum Discussion
MariaAthanasako
2 years agoCommunity Member
Interactive box
Hi- I would like to add an interactive box to my program. I need the employee to click on the box which then allows them to type in their name to sign to the agreement.
Once they have signed, they can carry on with the program.
How would I do this?
1 Reply
Sort By
I suggest that you have the checkbox and the name-entry field visible at the same time. That will make it easier to provide instructions and to program.
- Create a T/F variable with a default value of False to track whether the employee has "signed" the agreement.
- Add a trigger that changes the state of the Next button to Disabled when the timeline starts, with the condition that the T/F variable = False.
- Insert a data-entry field for the name. The program will automatically create a TextEntry variable to hold its value.
- Insert a checkbox.
- Add a trigger that changes the Next button to Normal when the checkbox is Selected with the condition that the TextEntry variable is not blank. (Note: Storyline can't check that the user actually entered their name; it can check that the user entered something.)
- Add a trigger that adjusts the T/F variable to True when the checkbox is Selected with the condition that the TextEntry variable is not blank. (This will prevent Next from being disabled again if the user returns to the slide.
You can see how all that looks in the attached demo. (It's not pretty, but it works. 😊 )
The real power in Storyline comes from conditions and variables. It's worth the time to learn about them. Here's more info: