Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Forced Navigation

Community Beginner ,
Dec 06, 2017 Dec 06, 2017

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...

Screen Shot 2017-12-06 at 9.38.36 AM.png

Screen Shot 2017-12-06 at 9.38.45 AM.png

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?

443
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2017 Dec 06, 2017

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2017 Dec 06, 2017

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 06, 2017 Dec 06, 2017

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"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2017 Dec 06, 2017

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 06, 2017 Dec 06, 2017

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2017 Dec 06, 2017
LATEST

Here are the screenshots, they are different from the other posted, because the Advanced Actions dialog box has changed in CP2017:

ShowNextAlways.png

CheckNext.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2017 Dec 06, 2017

Ah ha!  I had no idea that was how you used the "untitled tabs"!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 06, 2017 Dec 06, 2017

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.  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2017 Dec 06, 2017

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.  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 06, 2017 Dec 06, 2017

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources