13 Replies Latest reply: Oct 3, 2014 5:26 AM by Boone Documentaries RSS

    Captivate 8 - Next Button Works Only After Viewing Slide

    Boone Documentaries Community Member

      How do I make a Continue button work only after the viewer has viewed the entire slide?

       

      I also want the viewer to be able to skip ahead instantly through slides they have already viewed.

       

      Thanks.

       

      - Jason

        • 1. Re: Captivate 8 - Next Button Works Only After Viewing Slide
          Lilybiri CommunityMVP

          Just a personal opinion: I don't like that kind of 'forcing' a user, especially if it is an adult. And I hope you don't provide a playbar because in that case the user will be able to scrub right through the course till the end.

           

          It could be done with a conditional advanced/shared action on Enter of each slide. You'll need a user variable per slide, a Boolean, that you change on the first visit from a default value of 0 to 1, after having checked its value.

           

          I don't kow if the "Continue" button is a normal button or a shape button? I recommend a shape button because you can time it for the rest of the project (set it always on top). At least then it will have always the same ID.

           

          Condition will look like:

          IF v_slide1 is equal to 0

               Hide Bt_Next

               Assign v_slide1 with 1

               Continue

          ELSE

              Show Bt_Next

              Continue

           

          Not sure if Continue is necessary, depends on the setup of the slides.

          • 2. Re: Captivate 8 - Next Button Works Only After Viewing Slide
            Boone Documentaries Community Member

            Let me show you what I'm trying to create here. Sorry I need specific instructions since I'm a newbie to Captivate and not familiar with conditions and advanced actions. 

             

            I am currently using normal buttons (not a shape button) to create my PREVIOUS & NEXT buttons. Based on your advice I will switch to shape buttons.

            Screen Shot 2014-10-02 at 6.15.23 AM.png

            "It could be done with a conditional advanced/shared action on Enter of each slide. You'll need a user variable per slide, a Boolean, that you change on the first visit from a default value of 0 to 1, after having checked its value."

            What specifically do I select for the "On Enter" of each slide?

            Screen Shot 2014-10-02 at 6.27.00 AM.png

            Screen Shot 2014-10-02 at 6.26.51 AM.png


            And do I only need to put this condition in the "On Enter" section of each slide? Or do I also need to setup special conditions for the NEXT button?


            Thanks.


            - Jason Boone

            • 3. Re: Captivate 8 - Next Button Works Only After Viewing Slide
              windscorpion Community Member

              I guess the problem is how do you know a user has viewed the entire slide or just glanced at it for a moment, i'm not sure how you can ever know that? Or am i missing something obvious here?

              • 4. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                RodWard CommunityMVP

                Instructional Designers don't usually think that way.  If you want to know if somebody has consumed the content, develop an interaction that they THEN need to do in order to PROVE they did view the content and learned something.

                • 5. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                  Boone Documentaries Community Member
                  Instructional Designers don't usually think that way.  If you want to know if somebody has consumed the content, develop an interaction that they THEN need to do in order to PROVE they did view the content and learned something.

                   

                  Okay Rod that definitely makes sense.

                   

                  But focusing specifically on the NEXT button issue: how do I program that to not appear until my slide is finished?

                   

                  Thanks.

                   

                  - Jason

                  • 6. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                    windscorpion Community Member

                    Have it so it doesn't appear on the timeline until other elements have appeared (done what they doing)

                    • 7. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                      Lilybiri CommunityMVP

                      You choose 'Execute Advanced Action' in the dropdown list for On Enter.

                      The Next Button can have a simple action: Go to Next Slide, or Continue.

                       

                      @windscorpion  your solution will not work, because the Next button has to be available right away at a second view of the slide. Got it?

                      • 8. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                        Boone Documentaries Community Member

                        You choose 'Execute Advanced Action' in the dropdown list for On Enter.

                        The Next Button can have a simple action: Go to Next Slide, or Continue.

                         

                        Thanks I'm going to try this immediately when I get home! I'll let you know the results.

                         

                        - Jason

                        • 9. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                          windscorpion Community Member

                          OK got it, just wasn't 100% sure what the OP wanted

                          • 10. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                            Boone Documentaries Community Member

                            You'll need a user variable per slide, a Boolean, that you change on the first visit from a default value of 0 to 1, after having checked its value.

                            How do I attach the variable to the button? Am I supposed to attach it to the button in the first place?

                            • 11. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                              Lilybiri CommunityMVP

                              You are totally new to variables and advanced/shared actions? Do you really need this feature in that case, because you'll have to learn a bunch.

                               

                              Long time ago I wrote an article as introduction to variables, link is in these posts: Curious about Variables in Captivate? - Captivate blog  and Unleash the Power of Variables in Captivate with Advanced Actions - Captivate blog

                               

                              Variable is not attached to the button, you have to define a variable for each slide. I showed one 'v_slide1' but you'll have 'v_slide2'... or whatever you want to label them. Be sure to have a unique name for each variable and be aware that they are case sensitive.

                               

                              I proposed not to use different buttons on different slides (makes it much more complicated because each button would have a different ID) but to put a shape button on the first slide, always on top, and timed for the rest of the project. It will be shown or hidden, depending on the conditional advanced action that is triggered by the On Enter event of each slide. That action will be different for each slide because the variable has to be changed. Since you use CP8, you can save the action as Shared action (have a sequence of articles about shared actions as well) with one parameter: the variable. Then you can apply that shared action to each slide, and just need to choose the right parameter-variable.

                               

                              Parameters in Shared Actions - Captivate 7 vs. 8 - Captivate blog  

                              • 12. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                                TLCMediaDesign Community Member

                                Follow Lilybiri's instruction in the above post. In swf, it much easier to use a custom widget especially with SCORM publishing as your progress will definitely be saved when the user returns.

                                 

                                The easiest method I've found is to put a button at the end of each slide that sets the specific slide variable and a continue action whrn clicked. Then create a perpetual button that displays for the rest of project that has the action gotoNextSlide. On Enter of each slide check if currentSlide is equal to the specific slide variable. If true, show the perpetual button., if false hide the button.

                                 

                                with javascript it is possible to actually create a variable that is an array so you can just use one variable, but you need to turn the variable back into an array on enter of every slide to determine progress.

                                 

                                The benefit of this is that if you are using SCORM 1.2 you can fill up your suspend data if you have a lot of slides and custom variables.

                                • 13. Re: Captivate 8 - Next Button Works Only After Viewing Slide
                                  Boone Documentaries Community Member
                                  You are totally new to variables and advanced/shared actions? Do you really need this feature in that case, because you'll have to learn a bunch.

                                  Yes I am completely new to both variables and advanced/shared actions, so thanks for all of the helpful links. Unfortunately this is a feature that my client needs and they need it asap, so I have to learn everything I need to know. I've been reading and researching nonstop and I feel like I am slowly starting to wrap my head around the idea, but still am struggling with actually making the actions work with the proper variables.

                                   

                                  Last night I tried plugging in the variable and actions that you included at the top of this thread,

                                   

                                  Condition will look like:

                                  IF v_slide1 is equal to 0

                                       Hide Bt_Next

                                       Assign v_slide1 with 1

                                       Continue

                                  ELSE

                                      Show Bt_Next

                                      Continue

                                   

                                  but I couldn't get it to work yet probably because of my knowledge level at this point. Still don't entirely grasp variables and where to put them. I am going to read through your provided links and follow your directions above and hopefully I'll be able to make it work at some point today. Thanks for the help guys.

                                   

                                  FYI I'm definitely going to be posting some additional questions a little later on. haha thanks again.

                                   

                                  - Jason