Skip to main content
Sellen
Inspiring
January 5, 2016
Answered

Button states reseting

  • January 5, 2016
  • 1 reply
  • 186 views

I have buttons on a main page that direct to quiz questions. I can click the button, answer the question, then on the main selection screen the button is in "visited" state.  When it goes back to the main page after the second question the "visited state" resets to the normal state. I tried adjusting and moving things around but I cant figure out how to fix it.

Any suggestions are greatly appreciated.

This topic has been closed for replies.
Correct answer Lilybiri

I know you are on CP9, only version with states. Objects revert to default

state when leaving the slide. That is why I suggested to set correct state

with the On Enter event of the slide. Indeed it means a conditional action

and you'll need tracking variables.

1 reply

Lilybiri
Legend
January 5, 2016

You need to use the On Enter action to have the correct state.

Sellen
SellenAuthor
Inspiring
January 5, 2016

hmm.  So for say I have a link to each question slide on the main slide and after the question is answered It goes back to the main page. Wouldn't "On Enter" activate the state change every time you go to the main slide, for each button, no matter what question slide you come from? Or is there a way I can work variables to tell if one question is answered then set this state to that specific button. 

I guess I should also include that each button has 2 states, one if you got it wrong and one if you got it right.

and forgot to mention Captivate 9 if that matters

Lilybiri
LilybiriCorrect answer
Legend
January 5, 2016

I know you are on CP9, only version with states. Objects revert to default

state when leaving the slide. That is why I suggested to set correct state

with the On Enter event of the slide. Indeed it means a conditional action

and you'll need tracking variables.