Highlighted

Captivate 9 - Multiple toggle buttons need to be clicked twice

New Here ,
Jan 31, 2020

Copy link to clipboard

Copied

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).

 

Most Valuable Participant
Correct answer by Lilybiri | Most Valuable Participant

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?

Topics

Advanced actions

Views

200

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Captivate 9 - Multiple toggle buttons need to be clicked twice

New Here ,
Jan 31, 2020

Copy link to clipboard

Copied

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).

 

Most Valuable Participant
Correct answer by Lilybiri | Most Valuable Participant

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?

Topics

Advanced actions

Views

201

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Jan 31, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Feb 03, 2020

Copy link to clipboard

Copied

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

 

cap1.PNGcap2.PNG

 

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Feb 03, 2020

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Feb 03, 2020

Copy link to clipboard

Copied

I switched to ASSIGN from TOGGLE and it seems to be working fine -  many thanks for the assistance.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Feb 03, 2020

Copy link to clipboard

Copied

Did you try the debugging workflow I suggested?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Feb 03, 2020

Copy link to clipboard

Copied

Yes I did.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Lilybiri LATEST
Most Valuable Participant ,
Feb 03, 2020

Copy link to clipboard

Copied

Great!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
Captivate User Guide
New Group