Skip to main content
Inspiring
January 9, 2016
Answered

How do we use the checkbox variable?

  • January 9, 2016
  • 1 reply
  • 813 views

I am using Cap 8. Eventually I want to set a variable to store the user's decision to play all narration automatically, or to not play the narration automatically.

A check box seems like an ideal way to let the user make this decision so I used the Checkbox widget to display only one checkbox. I successfully set the checkbox text property and entered a unique variable name (myNarrationDefault) to store the status of the checkbox. Now how do I access the variable?

I added a text field so I could show the value of that variable. However, when I try to insert a variable, I don't see the new user variable in the list. Then I tried to add an action to a button just to see if the variable shows up in that tool; it didn't.

Am I doing something wrong?

Thanks,

Pete

This topic has been closed for replies.
Correct answer TLCMediaDesign

You actually have to then create that variable you made in the interaction interface, CP doesn't do it for you, Project/Variables in the Menu at the top.

When the box is checked, the value is then assigned to the variable.

1 reply

TLCMediaDesign
TLCMediaDesignCorrect answer
Inspiring
January 9, 2016

You actually have to then create that variable you made in the interaction interface, CP doesn't do it for you, Project/Variables in the Menu at the top.

When the box is checked, the value is then assigned to the variable.

Lilybiri
Legend
January 9, 2016

Indeed, variables are never created automatically, except for a TEB.  That tip and many others are included in two blog posts I wrote, first about widgets (Flash only), second about Learning Interactions:

Using Captivate Widgets? Some tips - Captivate blog

Tips - Learning Interactions - Captivate blog