Forum Discussion

KristenBalck779's avatar
KristenBalck779
Community Member
2 years ago

Tab interaction and Next buttom

Good afternoon, 

I inserted an interaction and disabled the next button to ensure all tabs are selected prior to moving on.  I cannot figure out how to have the next button appear after each tab is selected.  

  • SandeepGadam's avatar
    SandeepGadam
    Community Member

    Hello Kristen, initially the buttons are not updating to visited state, so I got rid of those triggers.

    • Then I created T/F variables with its default value set to false.
    • Set the next button to disabled state when timeline starts on that particular slide. 
    • Then set the next button to normal state when timeline starts on that particular slide only if all the three variables are true. 
    • Then on each layer I added new triggers to change the variables default value from false to true when the layer opens and change state of next button to normal when all the three variables are true.

    So initial the user needs to click on the three buttons to navigate to the next slide on the first attempt. Once the slide has been passed and upon revisit, user can navigate to the next corresponding slide without clicking on those buttons.

    Please review the updated SL file and let me know if this works for you.

  • You don't need variables, it will work but it is overkill.

    Select all three tab buttons and create trigger change state of Next to normal it state of the three buttons is visited (if you select all the buttons before hand this will be done for you)

     

  • I can see why Sandeep used variables that slide needs to be designed a bit more elegantly for accessibility it it will not be great, I would add tabs a states on the base layer and only have three buttons on the base layer change the order with states.

     

  • Wow!  Thank you all for your feedback and suggestions.  I truly appreciate it. 

    Sincerely,

    Kristen