Forum Discussion
Storylines 360 Activating a trigger when two text entry variables are defined
- 5 days ago
The value of the variables for text-entry fields defaults to [blank]. Each variable's value updates when the user enters something in the field and the focus changes (that is, they click somewhere else). Thus, you can enable Next with two triggers that have conditions:
- Change the state of Next to Normal when TextEntry changes with the conditions that TextEntry ≠ blank and TextEntry1 ≠ blank.
-
Change the state of Next to Normal when TextEntry1 changes with the conditions that TextEntry ≠ blank and TextEntry1 ≠ blank.
Notes
This doesn't check that the user actually entered their name and a date. However, if it's clear that the info will be used for their certificate, they probably will enter the proper info.
I suggest you rename the variables associated with the text-entry fields, as well as the fields. It's easier to program and troubleshoot when all variables and objects have meaningful names. (For example, you have two triggers set to run "When Text Entry loses focus." But one trigger is for setting TextEntry and the other is for setting TextEntry1.)
This link goes to a discussion with info about date picking options. If you have questions about that, I suggest you start a new discussion. Date Picker | Articulate - Community
For future reference, this Exchange Best Practices section is for general questions about eLearning. You’re asking how to do something in the software. That type of question is a better fit in the Discuss Articulate Products section of the website. That's where those of us who regularly answer questions about how to use the software spend more of our time. And that's where more folks go to search for answers specifically related to Storyline, Rise, and other parts of Articulate 360.
The value of the variables for text-entry fields defaults to [blank]. Each variable's value updates when the user enters something in the field and the focus changes (that is, they click somewhere else). Thus, you can enable Next with two triggers that have conditions:
- Change the state of Next to Normal when TextEntry changes with the conditions that TextEntry ≠ blank and TextEntry1 ≠ blank.
-
Change the state of Next to Normal when TextEntry1 changes with the conditions that TextEntry ≠ blank and TextEntry1 ≠ blank.
Notes
This doesn't check that the user actually entered their name and a date. However, if it's clear that the info will be used for their certificate, they probably will enter the proper info.
I suggest you rename the variables associated with the text-entry fields, as well as the fields. It's easier to program and troubleshoot when all variables and objects have meaningful names. (For example, you have two triggers set to run "When Text Entry loses focus." But one trigger is for setting TextEntry and the other is for setting TextEntry1.)
This link goes to a discussion with info about date picking options. If you have questions about that, I suggest you start a new discussion. Date Picker | Articulate - Community
For future reference, this Exchange Best Practices section is for general questions about eLearning. You’re asking how to do something in the software. That type of question is a better fit in the Discuss Articulate Products section of the website. That's where those of us who regularly answer questions about how to use the software spend more of our time. And that's where more folks go to search for answers specifically related to Storyline, Rise, and other parts of Articulate 360.
Thank you! I was looking for the "and" logic but your advice was just what I needed to find it by defining the two if conditions. I wasn't sure how to change the names of variables so I just defined two new ones to keep track of them.
- JudyNollet5 days agoSuper Hero
The button to open the Variables window is near the top of the Triggers panel.
In the Variables window, you can edit any variables name or default value.