Skip to main content
Participant
January 31, 2020
Answered

Captivate 9 - Multiple toggle buttons need to be clicked twice

  • January 31, 2020
  • 1 reply
  • 1359 views

I'm trying to create multiple toggle buttons. When one toggle button is in the ON state, clicking on another toggle button should turn itself ON and the previous button OFF. This is working ok with 3 buttons but after working once I have to click on the button twice to get it to work again.

I'm using a transparent button on top of an image with two states (ON and OFF).

 

This topic has been closed for replies.
Correct answer Lilybiri

Do not use Toggle, but Assign command. Bit busy, this is more based on my intuition (created tons of advanced actions). You can check it out this way (think the Toggle causes the value to be wrong the second time):

  • Insert the Booleans in a text container on the slide(s).
  • Preview HTML in browser, and watch the values of the Booleans, are they correctly set in all situations?

1 reply

TLCMediaDesign
Inspiring
January 31, 2020

You are going to need to post your Advanced Actions. You more than likely have a logic issue.

Participant
February 3, 2020

Hi, thanks for the reply. Here's the Advanced Actions for 1/3 buttons.

 

 

So basically, when one button is clicked ON the other buttons change the state of the related image to the OFF state.

It works great the first time I click each button, but thereafter I have to click each button twice to repeat the same action.

Lilybiri
LilybiriCorrect answer
Legend
February 3, 2020

Do not use Toggle, but Assign command. Bit busy, this is more based on my intuition (created tons of advanced actions). You can check it out this way (think the Toggle causes the value to be wrong the second time):

  • Insert the Booleans in a text container on the slide(s).
  • Preview HTML in browser, and watch the values of the Booleans, are they correctly set in all situations?