Skip to main content
vann36034762
Inspiring
April 7, 2016
Answered

Need to Click All Click Boxes to Continue

  • April 7, 2016
  • 2 replies
  • 1901 views

So I was following this article to make a user click all click boxes before they could continue. Seems logical, but I have found it to not work and the suggestions wasn't what I was looking for Captivate 9.

Enabling Forced Navigation for Your Interactive Screens in Adobe Captivate 5.5 «  Rapid eLearning | Adobe Captivate Blog

I don't want to force a clicking order but I do want to force them to click 8 boxes total before a button appears to continue.

What am I missing?

This topic has been closed for replies.
Correct answer Lilybiri

This question has been answered many times in this forum.

You need a user variable for each of the click boxes, which will be a Boolean variable, default value = 0. It will be changed to 1 when clicking on the click box. I suspect that you want to leave the click boxes enabled when they have been clicked? If not, it could be a simpler solution, let me know.

Create the Continue button and make it invisible for Output (eye button in its Properties panel). Create an advanced action for each of the click boxes, that will be a conditional action with two decisions:

First decision 'Always' is a mimicked standard action (with the condition 'IF 1 is equal to 1' which is always True), assigns the value 1 to the appropriate variable and does eventual something else that you want to happen when the click box is clicked

Second decision 'CheckAll' will test if all the variable are set to 1 (combination of conditions with AND) and then show the Next button. Here is a preview of such an action, for the first click box, I have only 4 click boxes, but it is easily edited for more. For the other click boxes you only have to change the variable in the first decision (and eventually another command if the click box has to do something).

2 replies

Lilybiri
LilybiriCorrect answer
Legend
April 7, 2016

This question has been answered many times in this forum.

You need a user variable for each of the click boxes, which will be a Boolean variable, default value = 0. It will be changed to 1 when clicking on the click box. I suspect that you want to leave the click boxes enabled when they have been clicked? If not, it could be a simpler solution, let me know.

Create the Continue button and make it invisible for Output (eye button in its Properties panel). Create an advanced action for each of the click boxes, that will be a conditional action with two decisions:

First decision 'Always' is a mimicked standard action (with the condition 'IF 1 is equal to 1' which is always True), assigns the value 1 to the appropriate variable and does eventual something else that you want to happen when the click box is clicked

Second decision 'CheckAll' will test if all the variable are set to 1 (combination of conditions with AND) and then show the Next button. Here is a preview of such an action, for the first click box, I have only 4 click boxes, but it is easily edited for more. For the other click boxes you only have to change the variable in the first decision (and eventually another command if the click box has to do something).

vann36034762
Inspiring
April 7, 2016

I finally I understand this, after many trials. I forgot how to get to that code view.

So this is what it would look like in Advanced Actions.

Assume I have variables A1 to A8

Next button would be:

And so on and so forth...

Lilybiri
Legend
April 7, 2016

The 'print' I posted can be accessed using the small Play icon in the top control panel of the Advanced Actions panel (first in the row, just before the plus button to add an advanced action).

Be careful with labeling: you cannot use any reserved keyword (will never use 'Check' myself), and because same label can not used twice, not even for a totally different object I tend to start each user variable with v_... I see you use A1, ... Be sure never to use that label for something else, an image, a button ...

For other users: in this case it was not possible to use shared actions, because the variable should need to be a parameter. But that variable is used on both the first and the second decision, that is the reason why this has to be done with duplicate advanced actions, not with shared actions.

RodWard
Community Expert
Community Expert
April 7, 2016

Take a look at this article. Maybe it explains it better:

Create a Dynamic Menu Slide in Adobe Captivate | Infosemantics Pty Ltd

vann36034762
Inspiring
April 7, 2016

Thanks, that may work for another project.