Forum Discussion

MelanieAmrich-4's avatar
MelanieAmrich-4
Community Member
2 years ago

"in progress" state on a menu bar

Hello,

I'm having trouble creating an "in progress" state to show up on a custom menu to indicate that the user has not accessed each and every slide in a particular scene. I have created the "success" state to show up if they access each slide. 

Any help would be appreciated! 

Melanie

    • Use a trigger on the menu button that changes it to the in-progress state when the user clicks the button with the condition that an associated T/F variable = False. 
    • Change that T/F variable to True when all the slides have been viewed. 
    • Use a trigger to change the button to the success state after all the slides have been viewed.
  • Here's one way to do it:

    • Use the visited state as the in-progress state. When they click on it, it changes to in-progress
    • Use a variable to track when the course is complete. Could be a t/f variable that is triggered only when all of the content is viewed. Really just depends on what you're tracking, but you would use a variable to track to meet the criteria
    • Change the state of the object to completed when they revisit the slide on the condition the variable is at a specific value
  • Good point. Or if you didn't need to revisit, you could use the disabled state as the completed state which would turn the button off.

  • Yup, Tom's suggestion to use the built-in Visited state to indicate "in-progress" is simpler than having a custom state for that. 
    (Well, it's easier as long as the button won't change back to Visited if the user clicks it after it's been changed to the custom "success" state. I'm not on a machine where I can check that...)

  • Thank you everyone for all your help - I'm using custom buttons and states and maybe that is where my mistake lies. I'm going to attempt to follow all of your directions!

    Again, thank you. 

    • JudyNollet's avatar
      JudyNollet
      Super Hero

      I just did a quick test with a button that has standard Visited state and a custom Done state. Here's the test:

      • I clicked the button, and it automatically changed to Visited (as expected). 
      • I changed it to the Done state via a trigger.
      • I clicked it again, and it changed back to Visited. So that built-in functionality repeats.

      Since you want to indicate that someone has started but not finished a scene and then indicate when the scene is finished, stick with your original plan to use custom states for "in progress" and "success." 

  • Hello,

    With all of your suggestions, it worked! It was a matter of changing the state of the button to success when the timeline started on the slide with those T/F variables using and. Then I changed the state of the button to in progress when the timeline started on the button and changed the T/F variables to say or.

    Thank you again for all of your help with this!