Copy link to clipboard
Copied
I have 3 boxes I use as buttons on my screen.
When you click those button I have the action telling it to "show" a box on top of that button with text...
I want to make it where the user has to click each button (box 1, 2, 3) BEFORE the next arrow appears.
I understand how to do this if those boxes jumped you to different pages, by assigning variables, but I can not figure out how to do it if I remain on the same page.
Help?
Copy link to clipboard
Copied
You need a user variable for each interactive object to be clicked. I will label them v_one, v_two and v_trhee. Set their default value to 0, they will be Booleab.
I cannot post screenshots because I don't know which version you use. For each interactive object you'll have to create an advanced action with 2 decisions:
First decision 'Always' has to be a standard action
Assign v_one with 1
Second decision 'ShowNext' is conditional:
IF v_one is equal to 1 AND
v_two is equal to 1 AND
v_three is equal to 1
Show Bt_Next
Copy link to clipboard
Copied
I believe I understand what you are saying. I am using captivate 10 I believe (2017 release for Mac). Are you able to show me screen shots so I can make sure what I see in my head is what you're saying. Thank you!
Copy link to clipboard
Copied
Here is an idea.
Start with next button hidden.
What if you then have a variable for each text box where a value of 0=not visible and a value of 1=visible.
Initial value is hidden or var_xxx = 0 When the user clicks on the box we not only show the text but assign the variable with 1
You could then have an action where IF var_box1 = 1 and IF var_box2 = 1, and IF var_box3 = 1 THEN show "Next"
Copy link to clipboard
Copied
So I would have each Box have the action of Assign (assign var with 1) and Show (show the box with the text)...
But where do I connect the action for IF.... Then?
Copy link to clipboard
Copied
Here is how I might go about it.
In the advanced actions panel under conditional actions.
The first one sets the variable and shows the text.
The second condition checks to see if next button can be shown.
Copy link to clipboard
Copied
Here are the screenshots, they are different from the other posted, because the Advanced Actions dialog box has changed in CP2017:
Copy link to clipboard
Copied
Ah ha! I had no idea that was how you used the "untitled tabs"!
Copy link to clipboard
Copied
I've read everyone else's solutions and just wanted to throw another possible approach solution in the mix. Create 3 variables box1,box2, and box3 and set all three values to zero
On the 'Enter Frame' execute javascript and create the following function:
function checkBoxes(){
if (box1==1 && box2==1 && box3==1){
cp.show('nextBtn');
}
}
For each box button execute this javascript (change the box number for the different boxes - i.e. box2 = 1, box3 = 1)
box1 = 1;
checkBoxes();
This way you don't have to create three different advanced actions.
Copy link to clipboard
Copied
I have never used Java before, but this is also something I will look at once this project is done because this appears to be less time consuming, even if it is a few minutes.
Copy link to clipboard
Copied
It can help create a lot of shortcuts and add some additional functionality. It's can be a bit challenging finding practical javascript / captivate documentation but it's certainly worth a look at.