Hello. In Articulate Storyline 2, I have a radio button that the user is supposed to click to confirm they understand that they must attend an in-person training. As it presently is configured, they can click "next" and advance to the next slide without clicking it. I'd like to change that setting so the user must click on the radio button in order to move on. What are the trigger settings for this?
The easiest way is by adding conditions to the next button. It's important to know when to use an OR or an AND because that will really change a behavior. My example is attached.
I have it currently set to "Set Advance equal to True when user clicks If advance is equal to true, but I don't think that's correct. This part still confuses me.
Set advance to true when user clicks if 'advance' is equal to true - it will never fire because you are trying to set it to true only on the condition it is true.
Check out Michael's suggestion and if still not working - upload your .story file - easier for someone to help if they can see your setup.
I'm new to Storyline 2, I guess I need to research more about triggers and conditions. This is my current screenshot. From the examples, do I have to create another slide when I work with conditions?
there are a few ways you can do this. Here is one.
Change the intial state of the radio button from selected to normal - go to the states tab to do this. (image 2 above)
Add two triggers - one to disable the Next button when the timeline starts and the second to trigger to normal once the radio is clicked. (Image 1 above).
When programming something like this there are a lot of answers and ways to do it so it's best to keep it simple. I would add the condition to the next button, because the trigger is already there and set to jump to the next slide when the user clicks next. All you have to do is add a condition to check the radio button before it does. Basically it's easier to get the next button to check the condition of the radio button (is equal to selected) for example, than it is to get the radio button to enable or disable the next button especially when you have to account for more than one action... what if they click the radio... what if they don't click the radio. What if they click it and then unclick it... We already know they will click the next button so that is where I'd add the programming.
Hi Wendy - this is very useful. Would you have any suggestions of what would work if you have multiple button sets, and want each of the sets to have a selected button in before the user can progress? Thanks in advance for any suggestions!
You can just add conditions to Wendy's suggestions if the button sets are on the same page. If not, it is more difficult, because a page cannot read the condition of button sets on other pages.
In that case, when the user clicks the proper button, set a variable. (Think of variables as merely messengers to carry information from one slide to another.) Then in Wendy's trigger, change the condition to check the value of the variables, rather than the state of the buttons.
19 Replies
See attached an example I did a while ago to answer a similar question.
The easiest way is by adding conditions to the next button. It's important to know when to use an OR or an AND because that will really change a behavior. My example is attached.
I have Articulate Storyline 2 and am unable to view these examples. Can you share a screenshot? Thank you!
I have it currently set to "Set Advance equal to True when user clicks If advance is equal to true, but I don't think that's correct. This part still confuses me.
My example is a SL1 file that you can easily upgrade to and view in SL2.
Wow, that worked. Let me take a look at these examples. Thank you :)
Hi Carla
you're creating a loop with your trigger
Set advance to true when user clicks if 'advance' is equal to true - it will never fire because you are trying to set it to true only on the condition it is true.
Check out Michael's suggestion and if still not working - upload your .story file - easier for someone to help if they can see your setup.
Thank you. It's the second to last slide, 1.26.
Thank you. It's the second to last slide, 1.26.
I'm new to Storyline 2, I guess I need to research more about triggers and conditions. This is my current screenshot. From the examples, do I have to create another slide when I work with conditions?
Hi Carla
there are a few ways you can do this. Here is one.
Change the intial state of the radio button from selected to normal - go to the states tab to do this. (image 2 above)
Add two triggers - one to disable the Next button when the timeline starts and the second to trigger to normal once the radio is clicked. (Image 1 above).
Hope this helps.
If this isn't the behaviour you want let me know.
Or you can add a condition to the Jump trigger if you don't want to disable the Next button
When programming something like this there are a lot of answers and ways to do it so it's best to keep it simple. I would add the condition to the next button, because the trigger is already there and set to jump to the next slide when the user clicks next. All you have to do is add a condition to check the radio button before it does. Basically it's easier to get the next button to check the condition of the radio button (is equal to selected) for example, than it is to get the radio button to enable or disable the next button especially when you have to account for more than one action... what if they click the radio... what if they don't click the radio. What if they click it and then unclick it... We already know they will click the next button so that is where I'd add the programming.
Thanks everyone for the great feedback. I was able to get this radio button working! Much appreciated.
Hi Wendy - this is very useful. Would you have any suggestions of what would work if you have multiple button sets, and want each of the sets to have a selected button in before the user can progress? Thanks in advance for any suggestions!
You can just add conditions to Wendy's suggestions if the button sets are on the same page. If not, it is more difficult, because a page cannot read the condition of button sets on other pages.
In that case, when the user clicks the proper button, set a variable. (Think of variables as merely messengers to carry information from one slide to another.) Then in Wendy's trigger, change the condition to check the value of the variables, rather than the state of the buttons.
Thanks Walt. They are on the same page, but I can't see button sets as objects within the (shapes) conditions list. Or am I misunderstanding you?
Hi Alistair
Walt's saying: in the trigger condition instead of when state of , add in 'when variable = to"
Aaaahh, I see! Thanks both, that's super helpful.
This discussion is closed. You can start a new discussion or contact Articulate Support.