Forum Discussion

CRios's avatar
CRios
Community Member
2 years ago

Initial disabled state and next button

I have the next button set to disabled when the timeline starts. The icons all have an initial state set to disabled. Once the learner clicks each icon (hotspot) the icon state changes to normal and shows the popup layer. The next button should not be set to normal until the learner has clicked on all 5 icons/hotspots. Upon previewing the slide the next button is not disabled from the start.

However, if I turn off the trigger for "set state of next button to normal when the state of (all the icons) is normal" then the next button does start out as disabled. So it appears to be something with this trigger causing the issue.

I've tried stripping out the popup layers and the next button still persists as normal before anything is clicked, despite the initial states being set to disabled.

I've attached the .story file for troubleshooting.

  • Disabled state, like many of us, thinks it is normal. All the built-in states report that they are Normal. Try changing the trigger to “Change state of Next to Normal when the state of (all the icons) is not Disabled”, and see if that helps.

  • CRios's avatar
    CRios
    Community Member

    Thanks Walt. Changing it to "not disabled" fixed it. I've never had to use "is not" to make this same type of trigger work in the past.

    Can you explain what you meant by "all the built in states report that they are normal?" 

  • If you have "is Normal" or "is not Normal" in a trigger condition,Normal is considered normal, Visited is considered normal, Selected is considered normal, Disabled is considered normal, etc.