I have 5 sliders on a slide. I have a custom "Next" button with an initial state of "Hidden". I want this button to display only after the user has moved all 5 sliders.
I tried a numeric variable and a trigger that adds 1 to the variable when any slider moves. It works but if the user moves only one slider five times, the "Next" button shows up. I want the user to move all sliders before moving on.
Have a look at the attached and see if that's what you wanted. I use a T/F variable to indicate if any of the sliders has been moved. Based on that change I enable the Next button with a trigger, if all sliders were moved.
This is not exactly what I need. It works if the user moves all sliders to the right and leaves them all in that position. If I move the first slider to the right, and move it back to its original position and then move the other 4 sliders, the next button remains disabled, although I have moved all sliders.
I want the next button to show up after all sliders have been moved at least once, regardless of their position.
Ah, that's different. See attached a slight variation of the file. I now set a T/F variable when a slider is moved and based on all 5 sliders having been moved at least once, enable the Next button.
That's what I was looking for, but couldn't figure out how to do! I see you need one T/F variable for each slider. I was trying to make it work with one variable.
Also, instead of a slider (since it's small) you could create a button with selected or visited states. And use variables or evaluate the states to trigger.
Yes, I was going to use buttons at first, but I wanted the user to be able to go back and forth to compare the feminine and masculine form of the word. I could not figure out how to create a single button that you could keep clicking to go back and forth between states.
I did not know that the "Selected" state could be used as a toggle. This is great and very simple, reducing the number of triggers. It will be very useful! Thanks Tom!
8 Replies
Have a look at the attached and see if that's what you wanted. I use a T/F variable to indicate if any of the sliders has been moved. Based on that change I enable the Next button with a trigger, if all sliders were moved.
Hi Michael,
This is not exactly what I need. It works if the user moves all sliders to the right and leaves them all in that position. If I move the first slider to the right, and move it back to its original position and then move the other 4 sliders, the next button remains disabled, although I have moved all sliders.
I want the next button to show up after all sliders have been moved at least once, regardless of their position.
Ah, that's different. See attached a slight variation of the file. I now set a T/F variable when a slider is moved and based on all 5 sliders having been moved at least once, enable the Next button.
That's what I was looking for, but couldn't figure out how to do! I see you need one T/F variable for each slider. I was trying to make it work with one variable.
Thanks Michael!
Also, instead of a slider (since it's small) you could create a button with selected or visited states. And use variables or evaluate the states to trigger.
Yes, I was going to use buttons at first, but I wanted the user to be able to go back and forth to compare the feminine and masculine form of the word. I could not figure out how to create a single button that you could keep clicking to go back and forth between states.
Selected states work as toggles. Put the male on normal state and female on selected state.
Then you can toggle. And using variables as Michael explains, let's you track when they've all been viewed.
I did not know that the "Selected" state could be used as a toggle. This is great and very simple, reducing the number of triggers. It will be very useful! Thanks Tom!
This discussion is closed. You can start a new discussion or contact Articulate Support.