November 18, 2011

Enabling Forced Navigation for Your Interactive Screens in Adobe Captivate 5.5

You have created an interactive screen that you are proud of. You show it to the customer. Overall, he likes the screen, but requests you to hide/disable the Next button till the learner has clicked all the interactive objects on the screen. The customer wants to make sure the learners view the content linked with each interactive object before moving on to the next screen.

As an eLearning professional, you don’t believe in forced navigation and have made the content interesting enough to engage the learners. But you need to implement the changes suggested by the customer.

Don’t you get into such a situation once in a while? Here’s how you can quickly enable forced navigation for your interactive screens created in Adobe Captivate 5.5.

Take a look at this example screen. The Next button will appear only after you have clicked all the five tabs.

Here are the steps you need to follow to implement this functionality:

  1. Create your interactive screen. Here are the demonstrations for creating:
  2. After creating the interactive screen, insert a button, label it as Next, and uncheck Visible.

  3. Set the On Success action to Go to the next slide.
  4. Click Project > Variables and add new variables. The number of variables should be equal to the number of interactive objects on your screen. In this example, I have added five variables, namely, A1, A2, A3, A4, and A5 to match with the number of tabs.

  5. Modify the Standard Action defined for each interactive object to include a statement where you assign a value of 1 (or any other number you can think of). In this example, for the first interactive object, I have assigned A1 with a value of 1, for the second object, assigned A2 with a value of 1, and so on.
  6. Now select the slide and change the On Enter action to Execute Advanced Actions.
  7. Click the folder icon to define the action.
  8. Create a new conditional action, where you can check the values of the variables and set a condition to display the Play button once all the interactive objects are clicked and values of all the variables have changed to 1.
  9. Update and close the Advanced Actions dialog. Ensure that the script associated with the On Enter action for slide is the conditional action you just created.

  10. Preview the screen. It will work as intended.

 

So, the next time you are asked to add forced navigation to your interactive screens, don’t fret! Follow these simple steps to enable this functionality.

Happy captivating! :)

Posted by poojajaisingh8:10 PM
  • Jackson12

    Great use of advanced actions, but shows a limitation. If you allowed an advanced action to call another advanced action, you could greatly reduce the coding here. If you have an action “HideAll” that hide all the objects, you wouldn’t have to write that code for each demo. Basic programming 101. Something we’d love to see in Cp6.0.

  • Jim

    Thanks for this. Perfect timing. So, take this one step further. Can I hide a button until a video object or slide video ends? Forcing student to play the whole video before proceeding.

    • http://twitter.com/poojajaisingh Dr. Pooja Jaisingh

      That should be simple Jim. Just position the Next button in the timeline after the video ends.

      • Sherri

        The issue i have is that when a learner goes back and revisits a slide, they have to watch the entire slide again before advancing. Is there a workaround for this?

  • http://twitter.com/GuyKat GuyKat Solutions

    Very Neat. Thanks!

  • http://www.facebook.com/people/Amy-Blankenship/743874381 Amy Blankenship

    How would you do this if you wanted to disable/enable just the next button on the button bar included on the skin? I have figured out how to show or hide the whole thing, but not specific buttons (this is useful if you want to keep exit available in the question parts of a quiz, but enable free navigation during the instructions).

  • Miles

    Excellent… is there any way to show/hide a slidelet? I’d like to have interactivity within each tab page that can be scored… but producing the .swf’s in another session might preclude scoring.

    • http://twitter.com/poojajaisingh Dr. Pooja Jaisingh

      Yes Miles, you can show/hide a slidelet as well. Just uncheck the Visible checkbox for Rollover Slidelet Area.

  • Miles

    I’m having some trouble with this one… it seems that the advanced action for the slide only checks once… it doesn’t update to check the status of the other variables until it is reopened.

  • Miles

    I just double checked… with a setup nearly identical to what is shown, after clicking each button, I have to back out to a previous slide and revisit the tabbed slide for the conditional action on entry to show the next button. Using CS5.5… Lilybiri has a fix that will work…

    Check out the “correct answer” section if you’re having similar issues…

    http://forums.adobe.com/message/4046433#4046433

  • Pingback: The Push to Go Paperless()

  • Ivan Hdez

    Help! – I have a five step force navigation learning activity. It is already built and works fine. However, I found out that if I click on the same click box five times, the next button displays. Could you point the error I making?

  • McLearn

    Conditional Action – Not working. The Go2Menu button is initially not visible. Should only show once this page is exited. Maybe I’m making this too hard.

  • McLearn

    Forgot to show where the button is on the page that is set to initially not visible.

  • ald

    I am working in Cp 8 – these instructions should work, right? I am following them, but it doesn’t seem to work.

    • KM

      I haven’t figured how to get it to work with cp8 either.

      • jeh

        Hi did you solve this? I am having same problem with CP8.

    • jeh

      Hi,
      am having same problem with CP 8 – did you sole this?

    • Don Finch

      I have gone through this example using CP8 and not had success. I added some text to display variables for each of the objects to be displayed as well as a ‘DN’ counter I increment each time DisplayNext script ELSE clause was executed. I can clearly see that all 5 buttons are assigned ‘1’ but the ‘DN’ counter gets set to ‘1’ on the first entry and never increases. This tells me that Jump to Slide N does not execute the On Enter advanced action ‘DisplayNext’ script, and the NEXT button never appears.
      Also, if I used the cpCmndGoToSlide = cpInfoCurrentSlide construct suggested elsewhere that doesn’t jump back to current slide. It can advance slide if there is another after it. So Jump to Slide with a fixed slide number works, with the exception of not executing the On Enter script.
      I have CP7 on a different computer and will try this script there. It really seems like it is a CP8 problem.
      If I could just call an Advanced Action script from within an Advanced Action script I might make it work.

      • Don Finch

        Just an update. I built a similar (only 3 buttons and items to show) two-slide project in CP 7.0.1. I have the same problem with On enter Advance Action NOT being executed from a Jump to Slide call. If I navigate to another slide and come back then it executes. So, the A1,A2,A3 variables indeed get set, and a ‘DN’ counter I added to the ELSE clause of DisplayNext increments if I change slide and come back. Not incrementing with the individual button Adv Action that calls Jump to slide 1.
        ?? so this seemingly simple solution does not work in CP7 or CP8 ??

        • Don Finch

          Ugly workaround…I modified the ‘showItem’ script associated with each button to first Go To Next Slide, THEN Jump to Slide 1, and continue as before (hide, hide, show, hide, assign var=1).
          With a little extra screen flashing, the counters all work and the hidden Next button is revealed when all items are viewed.
          This seems the only way to force the On Enter advanced action script to run.
          Surely not.

      • Don Finch

        I just got this functionality, not allowing a Next or Continue button to appear until the user has clicked all the required elements, to work in CP8 using a different approach posted and described here:

        http://blog.commlabindia.com/elearning-development/click-on-tabs-in-adobe-captivate

        This does NOT depend on executing an Advanced Action on re-entry of the given slide, so the counters work with proper logic to display the Next button. Very nice alternative and I am pretty sure this will work in CP7 as well. Thanks to Yogesh Kumar for posting.

  • http://batman-news.com Janet

    I’m following the directions, but wheh I go to Project<Variables none of the rollover interactions on the screen are listed. Oddly, only 5 text entry boxes from a completely different screen appear on the list. I have several interactive rollovers and buttons in the project, but only the text entry boxes from the other screen show on the list. Where do I go from here?

  • http://batman-news.com Janet

    Let me try that entry again…
    I’m following the directions, but when I go to Project – Variables, none of the rollover interactions on the screen are listed. Oddly, only the 5 text entry boxes from a completely different screen appear on the list. I have several interactive rollovers and buttons in the project, but only the text entry boxes from the other screen show up. Wehre do I go from here?

  • Carrie

    I’ve created an interactive tabbed screen with five tabs in Cp 5, and I’ve followed the instructions above and the “next” button is not appearing after I have clicked all five tabs! Do the above instructions work for Cp 5?? Thank you!

  • Christian Lee

    I found a google book from Wayne Pascall that works for me. Thanks Wayne
    I’m using CP8 for this and assume you’ve created adv actions before.
    1. I placed smartshapes and button on slide
    2. create and name variables for smartshapes and set value of 0
    3. Do this next bit for all your ‘smartshapes’
    select smartshape/ create adv action/ choose Conditional action type/ select left decision tab/ IF all conditions are true/ smartshape = 0
    ACTION/ Assign smartshape with 1
    Hope this helps. I searched for ages to find something that worked. see images as well
    if you get stuck email me at hydefc1@gmail.com

  • Marina Matic

    Hi there. Can you explain what if I do this and then when candidate clicks on everything and goes to another slide, when he clicks back he does not have to click all over again, he can click next automatically after he sees all animations and triggers all clicks and buttons once during training? So technically first time viewing he will have to wait for next button but after that he can see the slide with all the animations played and click next without waiting.

  • Loading
  • Categories

  • Archives

  • Authors

  • Recent Comments

    • john: IF YOU ARE CONSIDERING PURCHASING CAPTIVATE TO BUILD COURSES. DON’T! I have found so many issues using...
    • Krista Neher: I may have considered attending something like this, but after 3 hours on LiveChat with support for a...
    • Kenny Odlum: Hi, can this work on a desktop browser? Or this only for iPad?
    • Darleen: Hi Jennifer, I am having the same frustration. Did you get resolution?
    • Lokanath Behera: Sir kindly edit for passport size photo ,give your choice background and forward my id
  • Captivate & eLearning Videos

    Subscribe to Adobe eLearning on YouTube.

    Check out the latest eLearning Videos on AdobeTV