Forum Discussion

KenCortnik's avatar
KenCortnik
Community Member
13 years ago

Changing state of buttons after section is completed.

I have a menu slide with six different topics (buttons). What I would like to happen is when the user clicks on a button, it would link them to a topic and when they complete that topic it would then link them back to the menu page, change the state of that button to visited.

I have created a true/false variable and set it to false and then have placed a trigger on the last page of the section to change it to true.

I then created a trigger on the menu page to change the button from Normal to Visited when the variable is changed to True. 

However, when I preview it, the button changes to Visited state when I click on it, prior to going to the section and is back to Normal state when returned to the Menu.

Any thoughts?

Thanks

  • MichaelHinze's avatar
    MichaelHinze
    Community Member

    On the masterslide, edit the Change state trigger to change state of textbox (select the correct textbox) to Complete, WHEN TIMELINE STARTS if Wristcomplete=true. Also, set the slide properties to Reset to Initial State.

  • EmmaBailey's avatar
    EmmaBailey
    Community Member

    Hi Michael thanks for the quick response - It now works! 

  • This thread is still helping! Thank you Phil, Joe, Gerry, and everyone else for the help and great ideas!  

  • Hello everyone,
    First of all, thanks everyone for your tips, they were very helpful and now the state of my buttons are reflecting that the user complete some defined sections.

    However, I am experiencing issue with the Next button. I want that it change to Normal state only when all my 12 buttons had been visited. However, following the completion of 2 of them, the next button is available and the user can reach the conclusion slide... I also had the opposite problem, even if all the sections were completed, the button still disabled. 

    I use the trigger "Change state of Next Button to Normal when the timeline starts on this slide If "all the 12 variables" = True" (I also tried with "State of all rectangles is Completed and I obtained the same result). 

    Can you help me please? I was pretty pleased with I finally succeed the complete button state after at least one hour of try and retry, but this tiny problem causes me headaches...

    Thanks a lot!

  • It would help a lot if you could attach at least the slide with the problem buttons here.

    If it is a large file, start a new project, and import one or two sections from your project into the new one, and attach it here.

    • PatriciaLacerte's avatar
      PatriciaLacerte
      Community Member

      Hello,

      Actually, I had finally succed!! I used variable data to add 1 each time the user click on a button and once the value upper or equal to 12 is reach, then the button next become available. It was a little bit hard but it worked!

  • JennyNewman's avatar
    JennyNewman
    Community Member

    I just want to tell you how very thankful I am to have found this thread! It saved me countless hours of pulling out my hair, and reiterates the power of community! Thank you for keeping this thread active!