Forum Discussion

celito's avatar
celito
Community Member
10 years ago

Can slider still be dragged in disabled state?

I added a disabled state to a slider hoping it cannot be dragged until a variable changes. But it can still be dragged to another step as if this was not disabled at all? If this is what it is, is there another way to prevent the slider from being dragged until a variable changes. I'm doing a crude solution by masking (set to transparent) the knobs and hiding/unhiding the mask based on the variable. It's messy and the change state trigger for the slider would have been more efficient. Thank you for any thoughts on this.

21 Replies

  • Hello Everyone!

    I have some great news to share. We just released another update for Storyline 360. In Update 74, we’ve included important fixes and new features.

    One of the bugs that was fixed was an issue which caused the slider disabled state to not work properly.

    To take advantage of this update, launch the Articulate 360 desktop app on your computer and click the Update button next to Storyline 360. You'll find our step-by-step instructions here.

    Please let me know if you need additional help!

    • AliciaMaison-c5's avatar
      AliciaMaison-c5
      Community Member

      Hi Joe,

      I updated my Storyline and am still receiving this error with the disabled state of the slider.  Any suggestions?

      Thanks!

      • JoseTansengco's avatar
        JoseTansengco
        Staff

        Hello Alicia,

        We're no longer seeing issues with users still being able to interact with sliders after their states have been changed to disabled. I've attached a sample project file which I used for testing. 

        Would you mind sharing more details regarding the behavior that you're experiencing so we can check to see if you are still being affected by the same bug discussed in this thread?

  • TommiOjala's avatar
    TommiOjala
    Community Member

    I think I got it working. I added a text variable that goes from Male to Female as the second slider moves. This could have easily been True/False or 0/1 variable, but I did that way so I did not confuse it with existing ones and could easily see what the value means (I just couldn't remember if 1 meant male or female). That reference box is there just I could see the value, and it can be deleted. 

    Then I added triggers that checked the value of that new text variable and adjusted the state and position of slider accordingly when it appears. 

    Now there are quite a lot of triggers for fairly a simple feature, so there might easier way to all that. But I did it with "Add stuff until it works" -method.

  • TommiOjala's avatar
    TommiOjala
    Community Member

    Just realised that the text variable was totally unnecessary, as the slider position variable already exists and it can used to make sure that the state and position of the slider is correct. But like I said, is usally use "Add until it works", and sometimes I add more stuff that what is needed. 

    • KevinMcGrath's avatar
      KevinMcGrath
      Community Member

      Brilliant! Thanks Tommi - you've solved it! I really appreciate it!

      I too am a fan of the 'add until it works' method. The ability to enable and disable triggers without deleting them is a feature I'm really pleased exists.