Skip to main content
Participating Frequently
April 8, 2019
Answered

Is there a way to lock a changed state after it has been changed?

  • April 8, 2019
  • 2 replies
  • 518 views

I'm attempting to create a sort of menu slide in my Captivate project, where users will select the chapter they want to learn about and it will take them to an informational video. Then, on that video slide, I have a button linked back to the menu slide so they can select another chapter. I'm also hoping to incorporate an advanced action with that button that will show the chapter with a green check mark next to it on the menu slide.

Here's the thing: I want the check marks from previously completed chapters to appear when they return to the menu screen even after the second or third chapter. I can think of a way to do this that assumes an order of learning, but I would prefer to see if there's a way to lock the changed state once it's been clicked, which would allow users to go in any order they wanted.

Sorry, this is a bit all over the place, so please let me know if you have any questions or if I can clarify at all!

I am using Captivate 9.

Thank you!

    This topic has been closed for replies.
    Correct answer Lilybiri

    Since you are still on CP9 you don't have the visited state which is an InBuilt state, I think.

     

    In that case use a custom state in which you add hte checkmark. You can change the state of that button to the new custom state with a shared or advanced action triggered by the Back button at the end of the chapter. Do not forget to check the option 'Retain state on Slide R"evisit' in the Properties panel for all the buttons on the menu slide.

    2 replies

    Emily_Serenity
    Participating Frequently
    April 9, 2019

    I've done what you're trying to do in Captivate 9, so it's definitely possible and it doesn't require that the learner complete the modules in any particular order. 

    The way I did this was to create the menu and then have checkmarks next to each item that are all hidden on first viewing. Then I had a few slides in each section that were linked to the menu items. Once the learner gets to the last slide in a chapter, there was a button to go back to the menu. I added a variable increase there and when the learner goes back to the menu screen, the checkmark for that variable would show up.  As mentioned in the other answer, make sure you have "retain state on slide revisit" checked.

    I can probably dig up a link to it if you want to see it running. I don't have CP 9 now, so if I open the file to pull out the part to share with you, it would save as 2019.

    Lilybiri
    Legend
    April 9, 2019

    @Emily, that is the 'old' way, but CP9 has multistate objects, and they make it much easier to achieve the same goal.

    Lilybiri
    LilybiriCorrect answer
    Legend
    April 8, 2019

    Since you are still on CP9 you don't have the visited state which is an InBuilt state, I think.

     

    In that case use a custom state in which you add hte checkmark. You can change the state of that button to the new custom state with a shared or advanced action triggered by the Back button at the end of the chapter. Do not forget to check the option 'Retain state on Slide R"evisit' in the Properties panel for all the buttons on the menu slide.

    Participating Frequently
    April 9, 2019

    Thank you for your answer. I think I have it figured out now, except I don't have the "Retain State on Revisit" option that I can see. Is there something I need to enable?

    Lilybiri
    Legend
    April 9, 2019

    I thought it was added in 9.0.2 but may be wrong.

    In that case you need tracking Boolean variables, and use the On Enter event of the slide to reset to the correct state.