We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
On the fifth slide of my project I have seven buttons to press before the 'next button appears. The first timne I hit the next button; the screen flashes white and the slide refreshes. If I try clicking the buttons a second time; I get to the fifth or sixth button and the screen flashes white and the slide resets again.
I've tried previewing the project from after this slide, in which case it gets even stranger: It will let me view no more than two slides before the next button simply doesn't do anything.
The only clue I have is may variable for number of total slides which should be a static variable (cpInfoSlideCount - 3) set on the first slide. It should equal 17, however when I preview from slide 6 it seems to be reading the current slide number instead (it increases by 1 on the next two slides).
Has anyone seen anything like this before? I'm completely lost.
Copy link to clipboard
Lot of lacking details in this question. Which version (full number under Help, About Captivate)? Is it a responsive or a non-responsive project? For a non-responsive project aimed for HTML5 output the only usable Preview method is 'Preview HTML in Browser' (F11).
You probably have a logical bug in the advanced action, which is not shown. Please post a screenshot of the used actions (Preview window).
Ok, so I'm using Captivate 2019 release 22.214.171.1249
Its a responsive project
The only action on the next button itself is the standard 'Go to the next slide'.
This is the code for one of the buttons on the slide itself. All the other buttons are the same (literally duplicates) just adding a different poiece of information to the same variable.
The way you currently have these Conditional decisions set up is not the best approach. You're trying to get one variable to track multiple things. I would suggest you need to create a different variable for each separate thing that needs tracking. That will give you more accuracy and reliability.
I'm trying to get it to work like an Array; there's no point tracking any of these things other than to check whether the learner has completed all the required actions. Is there a better way of doing that?
Too hard with tiny screenshots. Why not use the Preview button which shows all decisions at once. My eyes are too bad,.... no way to read. Will leave you to Rod.
If I understand what you want, maybe this blog post could help?
My apologies, I must not be understanding what you mean. How do I use the preview button? I see the standard options such 'Live preview on devices' and so on but I don't know how to get it show 'all decisions at once?
Maybe read and discover more about Advanced actions dialog box:
That button already existed before CP2017 but only for conditional actions.
Thanks for the advice. Is this what you were asking for?
First, if you don't have anything setup to debug your code, you're basically blind as to what is causing the problem. You should set up text boxes that will display the values of your variables somewhere on the slide.
I can't tell exactly what you're doing, in terms of what the learner has to accomplish to successfully complete a task, but, maybe something like this will work: