Skip to main content
Known Participant
March 12, 2014
Answered

How can you hide a Continue button until all clickboxes are clicked?

  • March 12, 2014
  • 1 reply
  • 666 views

I have seen similar questions to this one, but none seemed to be the exact situation as mine.

What I have: Several images on a screen.  When a user clicks an image it is replaced with another image.  I am using clickboxes for this task.  I do not wish for them to toggle back and forth. Once they click the original image it should stay changed.

What I am trying to do: Once a learner clicks all the images (in no particular order) a Continue button appears that allows them to go to the next screen.

If anyone has some suggestions on this situation please let me know, thanks.

This topic has been closed for replies.
Correct answer Lilybiri

Is there a different click box for each image? In that case, create a user variable v_counter, with a default value of 0. Create a shared conditional advanced action:

  1. Decision 'Always'  that will be a mimicked standard action like this:
       IF  1 is equal to  1
           Increment v_counter by 1
           Show Imagex
  2. Decision 'Checker' that checks the counter
       IF v_counter is equal to N           (where N is the total number of images)
           Show Bt_Continue

Apply this shared action to each click box, you'll only have one parameter 'Imagex' that will have to be adapted to the particular click box.

If you have only one click box, let me know. I answered with this work flow because you mentioned 'I am using clickboxes for this task'

1 reply

Lilybiri
LilybiriCorrect answer
Legend
March 12, 2014

Is there a different click box for each image? In that case, create a user variable v_counter, with a default value of 0. Create a shared conditional advanced action:

  1. Decision 'Always'  that will be a mimicked standard action like this:
       IF  1 is equal to  1
           Increment v_counter by 1
           Show Imagex
  2. Decision 'Checker' that checks the counter
       IF v_counter is equal to N           (where N is the total number of images)
           Show Bt_Continue

Apply this shared action to each click box, you'll only have one parameter 'Imagex' that will have to be adapted to the particular click box.

If you have only one click box, let me know. I answered with this work flow because you mentioned 'I am using clickboxes for this task'

Known Participant
March 13, 2014

You are correct.  I have multiple click boxes, six to be exact.  Thank you so much for that workflow.  It worked great, but there is one issue.  If a user clicks on the same clickbox twice the counter still goes up.  So a user could click on only five click boxes, and still get the continue button if they clicked on one of the click boxes twice.  Any idea on how to get around this issue?

Lilybiri
Legend
March 13, 2014

I cannot log in on the forum for the moment, so will try by answering by

mail. I was aware of that problem (have presented those solutions so

often), thought that since you left all images visible once the click box

was clicked it wouldn't be a problem.

Two possible solutions:

1. Easiest one: add a statement in the Always decision that will Hide

the click box just clicked. It has no sense to click it another time. That

will mean that you still can do it with a shared action but that shared

action will have two parameters now, the second one being the click box

that has to adapted on each application of the shared action.

2. If you don't want to make the click box hidden (which means at the

same time disabled), you'll need a user variable for each click box,

starting with a default value of 0, and toggle it in the Decision 'Always'

to 1. The second decision will then need a condition that checks the value

of all the user variables (with AND) and shows the Next button only when

all variables have the value of 1.

Sorry, but have to mail, cannot offer a screenshot in that case.

Lilybiri

2014-03-13 5:31 GMT+01:00 Joseph_McDonald <forums_noreply@adobe.com>:

Re: How can you hide a Continue button until all clickboxes are

clicked? created by Joseph_McDonald<http://forums.adobe.com/people/Joseph_McDonald>in *Advanced

Adobe Captivate Users* - View the full discussion<http://forums.adobe.com/message/6205043#6205043