Skip to main content
Known Participant
January 5, 2016
Answered

Execute Advanced Action Not Updating on Click Box Update

  • January 5, 2016
  • 1 reply
  • 713 views

I have inherited a template that has a quiz in it with check boxes made out of click boxes. As it stands now, the user can cilck the submit button without clikcking on any of the 6 checkboxes (not an ideal situation for a test).

I created variables for all the click boxes and associated them with 0 (assign checkbox 1 with 0........ etc.).

In the on the slide, I have on enter slide Execute Advanced Actions, I have AND statements stating that if checkbox is = to 0, then hide and disable the Submit button.... and I do this for all of the checkboxes (if checkbox1=0 AND checkbox2=0.....etc.). I then have an Else, stating to display and enable the Submit button.

In the clickbox, I have it when it is enabled (there is a box for clicked and not clicked), I set the checkbox variable to 1 from 0.... meaning that the Advanced Actions "should" be updated with the new variable of 1 but it doesn't work.

I think it has something to do with being click boxes as it seems to stall the playhead and not keep running the Advanced Actions. This is my only guess as what the issue is.

Any thoughts?

Thanks.

Brent

This topic has been closed for replies.
Correct answer Lilybiri

Maybe I could have but I got it to work.... may not be elegant but it works (seems to be my way of doing things..... haha).

Thanks again!

Hey, do you know how to delete variables that are not used in a project? I removed all Advanced Actions, slides.... library items yet this variable still remains. Very frustrating.

Happy weekend. Thanks again for your help.

Brent


Deleting variables is possible in Captivate 9, not in previous versions. Even in CP9 it is still bit tricky, some variables seem to be still 'used' whereas they don't.

1 reply

Lilybiri
Legend
January 5, 2016

It would help if you 'show' the advanced conditional action and tell which version you are using as well. The Advanced Actions dialog box has a 'Preview' button for conditional actions on top (the arrow button), you can take a screenshot of that preview.

You gave a default value of 0 to the user variables, right? The click boxes can be clicked in any sequence? Can they be clicked multiple times as well?

Your explanation is a bit confusing: I understood the default value of the variable to be 0, later on you write: "I set the checkbox variable to 1 from 0..."??? When and how was it set to 1?

It is certainly not linked with being a click box at all. Post a screenshot of the timeline as well. What is the action triggered by the click boxes? Is it a simple or an advanced action? I asked about the version number of Captivate because a simple action can only be used in CP9 without issues. For previous versions, have a look at:

Why choose Standard over Simple action? - Captivate blog

Known Participant
January 5, 2016

Hi Lilybiri,

I am using Captivate 8.

For the Advanced Action, I have the following:

The variables (checkbox1 - 6) are all set to 0.

When the user clicks on one of the clickboxes to check it off check_1 is shown, so I set checkbox1 to 1 (as seen below). Check_6 is hidden because it is a "none of the above" scenario.

When the user clicks the checkbox again (unchecking it), I set checkbox1 to 0 (as seen below).

Basically, if the Check_1 is hidden, the box isn't selected and I set the checkbox1 to 0.

I tried this out by setting one of the checkbox variables to 1 and when I run the project, the "submit" button shows up because one of the checkbox values is 1.

I hope this adds some clarity.

Lilybiri
Legend
January 5, 2016

It looks to be much too complicated for what you want to do, if I understand it correctly.

It is not totally clear: from the labeling I cannot detect which are the interactive objects and which are the non-interactive objects. Why not use shape buttons, which can be filled with a check mark? At least you'll get rid of half of the objects. I still didn't see the timeline, where are the pausing points for the click boxes? Where is the pausing point for the submit button?

The logic of the advanced actions: I suspect that the interactive objects are in the same location, please hide first an object before showing the object that has to replace it.

Are those over_button ... and under_button   click boxes? Button_662 is probably the Submit button? Has it a pausing point later than those for the other interactive objects?


Is it possible to check more than one checkbox? I understand that the user can change his mind, but checkboxes are generally used when you want more than one choice. I see that you hide the 6th check box, but can they add other check boxes? Why not use the checkboxes learning interaction?  It would be so much easier! And if you want them to choose only one item, use the radiobuttons interaction, still easier.

Sorry, I try to understand what you really want to avoid you headaches...