Checkbox Widget & advanced Actions help

Hi all

I created a slide containing 2 issues (1 using the Widget of CheckBox and 2 using the Radio button Widget) as shown below.

Screen Shot 2015-10-06 at 10.15.53.png

I implemented an advanced Action (below) that verifies that the user has selected the right answers and then displays feedback (being good or bad) and then move to the next slide. The correct answers are 2 and 5 for the Widget of Checkbox and No. for the Radio Btn Widget.

Screen Shot 2015-10-06 at 13.25.29.png

Screen Shot 2015-10-06 at 13.25.35.png

The problem I have is to do with question 1 that uses the widget of the checkbox. Although the user must select 2 and 5, they can select several checkboxes and the slide advances always. Is anyway I can reconfigure my tip action, while this does not happen?


Thank you


Ross

Hi Ross

Try this: it is the action of tip attached to the "submit" button.

Donal.

Tags: Adobe Captivate

Similar Questions

  • Advanced Action help - the user must select all before moving on to the next slide

    I need a tip action that will require the user to select a number of option buttons containing information until the next button appears. I don't know how to write it. I want the user to be able to select each button in any order that they choose. Can someone give me a step by step process? Your help is greatly appreciated!

    What version do you use? Why radio buttons? The behavior expected normal of radio buttons is that only one can be selected, you seem to ignore what is generally accepted. As having a next button appears only after several items have been selected, this has been explained many times in this forum and have many examples in my blog. They are free, maybe not considered worth nothing...

    You need a variable associated with each item. Click on an item to trigger a conditional action advanced or shared with two decisions. First decision is simulated standard action, rotate the variable from 0 to 1, then is a real condition that will make the next visible button if all variables have the value 1.

  • CP7 advanced Actions: help please?

    Hello... I searched on Youtube, google, and in my book of CP shares advanced... they are all missing a few things... grrrr...

    Could someone please tell me what is a Variable and for one of the variable 'value' (below).

    variable.jpg

    And could you please also tell me;

    I understand the logic of the FI, I teach it... However...

    cond_action.jpg

    Thank you.

    Thank you. The variables that explain clearly

    The link provided does not say how to use anything... just what it is... Microsoft has always been, and still is, really bad for that in their help menus and and training materials. I always thought that it was due to the lack of teacher training. "Written manuals for the other tekkys Tekkys" it's like this that I started to use their products. Very frustrating for a lot of my students.

    Now if I can just find someone who can tell me how to APPLY a conditional action once it has been created...  It would be great!

  • JavaScript or advanced action help to increment the variable names

    I hope someone with Javascript skill can help me here. And it could also be possible with tip action, but I can't do it.

    I have a 'NombrAl' variable that chooses to enter 1 to 128 on blade.

    I have a series of variables - "but_word_1", "but_word_2" "but_word_3" etc all the way to "but_word_128".  They have text string values.

    I have another variable "spoken_word.

    By clicking on a button, I would like to that Javascript to define "spoken_word' with 'but_word_' + 'NombrAl '.

    e.g. If NombrAl then is 5 - window.cpAPIInterface. setVariableValue ('spoken_word', but_word_5);

    Thank you.

    Try this:

    window.cpAPIInterface.setVariableValue ("spoken_word", window.cpAPIInterface.getVariableValue ("but_word_" + NombrAl));

  • Widget in action variables using advanced

    Hello

    Is it possible to access the widget variables in the pane advanced actions? Specifically, I have after users click on a checkbox control and, after that, click on a button, I wish I had something else pops up. Is this possible? If so, how can I access the widget from the pane variables advanced actions for use in the case of statements.

    Thank you
    Dan

    Daniel, this question is too general... Some widgets are associated with user variables (you must create) that can be used in advanced actions: ListBox, TextArea, checkboxes, radio buttons are a few examples. I have several examples on my blog.

    But if you're talking about that variable control for checkboxes, radio buttons, TextArea widget, you'll need the extended versions created by Jim Leichliter and those is only Flash. If you use CP7 and now pointing interaction (checkboxes, radio buttons), which can also be used for the release of HTML5, so you are stuck again. I advocate having the extension by Jim included in these interactions, but my begging was apparently considered too exotic.

    Take a look at the articles in this list: http://blog.lilybiri.com/widgetsquestions-source-list

    Lilybiri

  • using advanced actions to make a button appear at the end of my project - HELP

    I'm working to build a set of advanced actions, which allow a user display the buttons at the end of the test based on the responses of the text entry box. The plan that I've discovered so far is:

    1. on the slide after the TEB, I have a conditional action that uses IF cpQuizInfoLastSlidePointScored = 1, and THEN assign the Variable 1 to 1 (the variable is set to 0)

    2. at the end of the test, I have an advance action that declares the variable = 1 IF THEN hide button (the button says they did hide the bad action means they did as the correct input) ELSE view button

    I have a total of 23 of these interactions TEB

    Everything works perfectly if each answer is correct

    Everything works perfectly if each answer is wrong

    Arrises them problem when alone or some answers are wrong. When that happens, no buttons appear.

    I built a debug slide and be positive for each Variable, I built received the first interaction.

    so, what could I have done wrong on my process? Any help would be appreciated.

    Always nice to hear from someone who likes my book.

    A thing, you have not made it clear to me yet.  You say that you are running the first action 'at the entrance to the next slide. I guess you mean using the event YOU enter the quiz question slide slide follows?

    Then, you mention that "at the end of the process," you have a blank slide that performs the final conditional action.  I assume that you mean that you use the event YOU enter Slide for the Quiz results slide where your buttons is displayed?  You won't be able to perform actions SHOW/HIDE objects on slides other than the one where the action is executed.

    My personal preference to set the variables on each quiz slide would be to use the event on the success of the quiz slide just to set the variable directly instead of using a decision of conditional action block as you did. If your quiz questions are all together for a moment of success, then just using the action of success WE should have the same result, but it's just more direct and so less inclined to any question (for example if, for some reason, the system cpQuizInfo variable did not work, your event on success should always pulled).

    In theory, your way (using the system variable) should work too, but sometimes if there are several ways to do something and your current path does not work, try them the other way around can get out you of trouble.

    I guess that your final conditional action has something ELSE for each block of decision which SHOWS the button?

    One thing that also that Lilybiri would probably say, that you are trying to rename all your blocks of decision in the last conditional action.  It could be one of the names of your decision blocks is originally a kind of conflict.  I noticed that you have a name of decision block with a punctuation of hash character.  Not a good idea.

  • Execute advanced action does not work in Captivate 9. Help, please!

    Hello

    I created a simple questionnaire and use to execute advanced action if students take the test, a new slide is displayed. To fail back to the quiz. Here is the screenshot of what I put in place. I think I followed the correct instructions, but whenever I tried it in preview mode, it doesn't. After the last slide in the quiz, he continued to go to the next slide. Thank you!

    image 1.jpg

    image 2.jpg

    You choose the wrong system variable. I guess you want to check the score, not the maximum score?

    Use cpQuizInfoPointsscored or cpInfoPercentage. Here is another link where you can download a descriptive table with all system variables:

    System variables in Captivate 8/9 - Captivate blog

  • Need help with advanced actions progress bar

    I need a guru of the advanced Actions! Someone at - he needed a challenge?

    I'm trying to recreate this tip action: http://blogs.adobe.com/captivate/2011/10/show-me-the-progress-bar.html show me the progress bar! By Dr. jerome Pooja

    I thought I got it and did this correctly, but when I try to use TI - nothing happens. (that is, I click on the box click to select an option, and nothing happens). I have Dr. Jaisingh tweeted a few times but received no response.

    Someone of you are willing to take a look at my file to see where I have gone wrong? Once I get that worked, I'd be happy to share the file to all who love her.

    As a bonus question: I would like to place this interaction in the middle of a module - but maybe that's a problem as the progress bar is set to show the rest of the project. Someone at - it a way to avoid this?

    Big thanks in advance!

    OK, think I found it, even after blogging about it but this post has not been read that much. In chronological order, I'll tell what I did.

    First of all, I cursed the lack of discipline, labelling, sorry, but said that Pooja on this subject more than once, why different labels for the objects used in the source PSD file, it is more difficult to read and analyze.

    All the 'cells' had in Fade transitions / Fade out. If you set to display for the rest of the project, these transitions and possibly apply effects will repeat on each slide where these objects are visible! So I started with the deactivation of these transitions.

    As Andy pointed out, and I've confirmed: stock Standard Advanced have a Continue statement. If I got it correctly, and the user can choose only once, even a go to the next slide would be better.

    That I started to suspect the use of the master slide. There is a partially transparent image on this slide model. This is the blog that I mentioned first:

    Order of the stack and master slides

    My solution is to merge the partially transparent image with the background on the slide master.

    Home work done! Everything works OK

    Lilybiri

  • Show/Hide - advanced action buttons and images

    So, I thought I had a handle on usage shares advanced to show/hide, but apparently not.

    Here's the scenario:

    -Screen where the user must select one of the 6 options

    -When the user clicks on one of the 'boxes' of the option a check should appear and audio should play

    -All other "cases" should be disabled to avoid audio duplication

    Here's what I did to try to get this working:

    -' Boxes' are buttons, click on success:

    * Success box contains audio that plays (this works)

    Success of the button execute advanced action:

    > hide all other buttons on the slide (it does not)

    > display an image of a check mark in the "checkbox" which has been clicked (does not work)

    > go to the next slide (works, audio from the success box once completed)

    Thoughts? Help! Thanks in advance!

    Hello, unknown fan

    Overlay buttons will not work, so let this idea alone.

    I really want to finish this blog post on audio and widgets. Just an idea and will try to be at the time where I found the time to try something. Why don't you attach audio to an initially invisible object that you show with the same advanced action? This object can be a shape with no stroke and a fill alpha of 0% so that it is invisible to the user. You will have time before the sound can play completely before going to the next slide.

    Lilybiri

  • Alternate slides with JavaScript (or advanced Actions)?

    I was wondering if someone out there with the knowledge of JavaScript could help me a little...

    A colleague came to me with a question about randomization of the slides. We work in Captivate 5.5. The slides are all part of a quiz (but aren't question slides). They have a click box. The idea is that if the user clicks on the box (or off the beaten track), it shows a good (or bad) legend and then jumps to a random slide (new). If the user manages at the end of the slide without selecting anything, their time is running out and they get fried to a random slide and it is regarded as an incorrect answer. The user should see all of the slides in random order, with no recurrence.

    I created a tip Action, integrating the widget of random number, and it works. My problem is that the project has 50 blades, and I'm not sure it is very feasible with advanced Actions. As it is, my test with 3 random slides is an action with 4 conditional statements, so I'm not really looking to create one for 50 slides. (I don't know even if Captivate would be able to handle this).

    Is there a way (judging) to achieve with JavaScript instead? My vague idea based on my very limited knowledge of programming is:

    1. on enter first Captivate slide, create the array of random slides - 1 slide numbers (because cpCmndGotoSlide index starts at 0)
      so if I had a project where I wanted to shoot random slides 3-8, the would be [2, 3, 4, 5, 6, 7]
    2. Shuffle/random table
    3. set up a variable called slideviews = 0 to keep track of how many slides have been seen (and so which item in the table to move to the next randomly)
    4. Create a function that I'm going to run when I want to access a random slide (whether at the end of a slide or in the success or failure of a click on a square)
      something like... If slideviews < array.length, cpCmndGotoSlide = array [slideviews]; slideviews ++; Another thing, cpCmndGotoSlide is 8 (jump at the end of the slides)

    Of course, this lack of things (like the proper syntax and things needed to communicate with captivate)... but is sound logic? Is there a better way to do it?

    Come to think of it, the table and the slideviews variable should be saved if we wanted it works with bookmarking... I think that this project will be SCORM 1.2 LMS System.

    It would be nice to have a variable user I can access within the Captivate project and I can put in a legend to show the script #. Something like scenario = slideviews (I know that's not the syntax, reading series of JavaScript of Jim Leichliter on CaptivateDev.com, but that's the basic idea.)

    Anyway, pointers would be very useful! Thank you.

    Edit: I played a little bit; for randomization, I found a code online, and then I wrote something that automatically creates a table and a function for the jump to a slide randomly. Here's what I have so far (not tested in Captivate yet):

    var objCP = document.Captivate;
    
    var randomNumbers = []; 
    
     // The following creates the values for the array: 3 to 52.
     // I want to randomize slides 4-53, using cpCmndGotoSlide (index starting at 0) to jump to them
    
    for(i=3; i<53; i++) {
                        randomNumbers[i-3] = i;
    }
    
    var n = randomNumbers.length;
      var tempArr = [];
      for (i = 0; i < n-1; i++ ) {
        // The following line removes one random element from arr
        // and pushes it onto tempArr
        tempArr.push(randomNumbers.splice(Math.floor(Math.random()*randomNumbers.length),1)[0]);
      }
      // Push the remaining item onto tempArr
      tempArr.push(randomNumbers[0]);
      randomNumbers=tempArr;
    
    var slideViews = 0;
    
    var randomSlide = function() {
    if (slideViews < 50) {
                        objCP.cpEISetValue("cpCmndGotoSlide", randomNumbers[slideViews]);
                        slideViews++;
                        objCP.cpEISetValue("scenarioNumber", slideViews);
              }
              //after all the slides have been seen, jump to the final results slide
              else {
                        objCP.cpEISetValue("cpCmndGotoSlide", 53);
              }
    };
    

    I doubt it will work off the bat, but maybe this is a beginning?

    I managed to get things working, so I thought I'd post my (probably a little unwieldy and inefficient) code in case people come across this thread and want a starting point:

    var objCP = document. Captivate;
    var randomNumbers = [];
    var slideViews = 0;
    CVS var = 0;

    shuffle var = {function (array)}
    var m = array.length, t, j;
    so that {(m)
    j = Math.floor (Math.random () * m-);
    t = array [m];
    table [m] = array [j];


    table [j] = t;
    }
    };

    var jumpSlide = function() {}
    If (slideViews < randomNumbers.length) {}
    objCP.cpEISetValue ('cpCmndGotoSlide', randomNumbers [slideViews]-1);
    slideViews ++;
    objCP.cpEISetValue ('scenarioNumber', slideViews);
    }
    else {}
    objCP.cpEISetValue ('cpCmndGotoSlide', 52);
    }
    };

    var randomSlide = function() {}
    If (g_objAPI.LMSGetValue ('cmi.comments') = ") {}
    for (i = 3; i < 53; i ++) {}
    randomNumbers [i-3] = i;
    }
    Shuffle (randomNumbers);
    g_objAPI.LMSSetValue ('cmi.comments', randomNumbers);
    resume ++;
    jumpSlide();
    }
    ElseIf (resume = 0) {}
    randomNumbers = g_objAPI.LMSGetValue('cmi.comments').split(',');
    slideViews = objCP.cpEIGetValue ('scenarioNumber');
    resume ++;
    jumpSlide();
    }
    else {}
    jumpSlide();
    }
    };

    The random slide order is stored in cmi.comments, and the position in the sequence is stored in a Captivate variable called scenarioNumber. I could have stored the two variables of Captivate in cmi.suspend_data, but in the end, I liked being able to see the numbers when considering the SCORM data. To work around problems with initialization, I made the creation/restoration of the part of random numbers of the function which climbs to a slide randomly, so nothing is actually executed when entering the first slide.

  • slide/advanced action does not

    Hello

    I am currently using Captivate 6 and I setup a project that has a timer on the question slide 1st and then I implemented a tip action so when then the timer stops it will jump to the slide results otherwise it will continue on the project.
    Here is my Advanced action.

    Untitled.jpg

    The timer variable is v_time that I installed on time and created in the variables.

    I put each slide (excluding the first slide of the question and the results slide) with the topic fast action on the entrance and exit of the slide.

    It's used to work when I tested published in the web browser. I have a copy of one I published in January that works but now for some reason it does not work.

    I think there is a problem with the action of jumping to drag, but I'm not 100% sure.

    I tried to recreate a new project with the same tip action, but it still doesn't work.

    I'm stuck and feel I'm wasting my time. I spent 3 days on this and I'm ripping my hair out.

    Help, please!

    Thanks in advance

    Kim

    Kim, what event you attach the advanced action? If you use the 'old' included with CP clock widget (exist also in previous versions), it has no events, will only change the value of the variable associated user. You have action by another event like a drag event (enter, leaving). You have only a message pops up when the time has elapsed, does not prevent the user to answer the question.

    Second question: what version are you using? Associate you the variable v_time in the properties of the Widget? Did you type the exact "v_time" name, because there is a problem with the timer in 6.0.1 widget, which prevents the seizure of some characters. Maybe it's the issue that you are facing now. You must be sure that the correct name is linked and that the variable exists. Lastly but not least, the values of the variable associated with 6 are now 'true' and 'false', not 0 or 1. I just checked the workflow in this way with the widget timer with 6.0 (have another newer version on 6.1):

    • created a user Vtime variable (because these characters are accepted in the properties of the Widget, no respect underscores and capital V)
    • put the clock on the first question slide widget, timed for the rest of the project, countdown with message and associated Vtime
    • created an advanced action conditional like yours, but with true as a literal value; This action will be triggered by each event on enter for all the slides in question except first

    "For the rest of the project" is the timer? Last tip: never use submit all the with the clock widget, because this feature parce que cette fonctionnalite desactivera will disable jump auto everything.

    Lilybiri

  • How can I add audio to tabs using advanced Actions?

    I used the following tutorials to create a slide tabbed with navigatiion locked in Captivate 5.5 (I use Advanced Actions to activiate the continue button only once you click on all the tabs).

    http://blogs.Adobe.com/Captivate/2011...

    http://forums.Adobe.com/message/40464...

    I have audio intro associated with the slide, which plays on enter. Does anyone know how I can add audio to each tab by using advanced Actions? When I tried this, all audio files played at the same time, above the other.

    I appreciate all help.

    Recently, I blogged about the control of audio objects, maybe that article could help you:

    http://lilybiri.posterous.com/audio-objects-control-them

    Here is another example, where I used a lot of audio attached to all kinds of objects:

    http://lilybiri.posterous.com/playtime-with-audio-and-widgets

    The idea is that you attach audio to an object that can be invisible to the user (I explained I have a special highlight for this purpose style) and you show the object action advanced, which means that when the audio will start playing. You probably also will have to stop audio (to avoid the two clips play together) when the user clicks on another tab, in which case he has not done. So if you have 3 tabs, you have 3 audio objects and with advanced actions always show you an audio object and hide the other 2.

    Lilybiri

  • Advanced Scripts of Action does not not in the advanced Actions window

    I have no idea how or why it happened, but on some scripts that I applied to some buttons, when I click on the folder icon to open the script in the advance action window, the script does not load. It shows just blank like this (screenshot below). If I try to select it from the dropdown of existing shares, it does not load. If I try to make a new script again, it will work initially, but the same thing happens if I try to open it again. No idea how to solve this problem?

    ExistingActions.jpg

    It looks like the corruption of the file. You're careful with naming of decisions and measures? Never use a name that has already been used for another object.

    If you copy an interactive object in a new project, the action in the annex is copied (at least if you're on CP8 or 9).  Normally slides copy and paste in a new project could help, only bit worried on the copy with the actions.

    Have you already restarted Captivate and maybe your system as well? Worth a try.

  • Advanced action not updated on the click box update

    I inherited a model with a quiz with boxes made from boxes to click. In its current form, the user can cilck the button submit without clikcking on any of the 6 boxes (not an ideal situation for a trial).

    I created variables for all click areas and associated with 0 (set checkbox 1 with 0... etc.).

    In the in the slide, I have on enter slide Execute advanced Actions, I have AND of statements indicating that if the checkbox is = to 0, then hide and disable the button send... and I am doing this for all the checkboxes (if checkbox1 = 0 AND checkbox2 = 0... etc.). I then an Else, indicating to display and activate the submit button.

    In the clickbox I have when it is activated (there's a box for clicked and clicked not), I put the variable checkbox to 1 between 0... that means that the advanced Actions 'should' be updated with the new variable to 1, but it does not work.

    I think it has something to do with the click boxes because it seems to stall the reading head and not continue to run the advanced Actions. It's my guess only as that is the question.

    Any thoughts?

    Thank you.

    Brent

    Removal of variables is possible in Captivate 9, not in previous versions. Even in CP9 that it's always a bit tricky, some variables seem is always 'used' so that they do not.

  • JavaScript for loop to execute Advanced Actions - execute Javascript does not?

    I use a loop to check the value of a Cookie.  When I add this using Execute Javascript it works fine but I want to run with certain other actions, if I want to use Of execute advanced Actions. When I add this coded to an action to run Javascript in the breast to perform advanced Actions code disappeared if I open the Script window again once.  I try to remove the code for loop in bold below and then the remaining code remains.  So I think that the problem must be with the loop for, but I don't see anything wrong with this code and I have, as I said that this code works fine if I use Javascript to run on its own. I've attached a video clip below to show what I mean.

    var task1_value = readCookie ("task1");

    function readCookie (name) {}

    var nameEQ = name + '=';

    var CA = document.cookie.split(';');

    for (var i = 0; i < ca.length; i ++) {}

    var c = ca [i];

    even if (c.charAt (0) ==' ') c = c.substring(1,c.length);

    If (c.indexOf (nameEQ) == 0) return c.substring (nameEQ.length, c.length);

    }

    Returns a null value.

    }

    I found that window JavaScript of CP does not like loops.

    Your best bet is to put the function in an external JS file from the top of the page. I always run scripts in an external file. Really helps debug that you do not have to republish Captivate. Just change your code and refresh the browser. If you use external file you can store all your functions there.

    I would also look into using the local storage instead of cookies. Very easy to implement and you can store a ton of information.

    Local storage - dive into HTML5

Maybe you are looking for

  • Button of the front panel & remote control questions Qosmio F30-140

    Hello to all users of the Forum and to whom, who prefer Toshiba to a daily activity of s. I am owner of laptop Qosmio F30-140 for 7 months. I can say that I m happy with my laptop. But about 2 weeks back, I had some problems, which I can't resolve up

  • Yellow brand - PCI Device' and 'Network controller' on the Satellite A100-787

    There is a yellow question mark in Device Manager for a pilot called "PCI Device" and also for "Network controller" even if the network (LAN) connection is working well and all the other computer functions seem to work well. What are these devices?

  • Windows 10 videos will not play

    Just updated to HP Pavilion dv6 to graphics AMD Radeon HD 6620 G 10 Windows. Display driver first problem 15.200.1062.1002 fails to install during display package AMD Catalyst 15.7.1 update for Windows 10. Manage Windows devices show the installed dr

  • arrow keys to scroll up and down in a hotmail folder are not visible

    My arrows to scroll up and down in a hotmail folder disappeared so I'm unable to go back and forth between messages... the only way to retrieve messages must return to the folder and choose one, then repeat the process.

  • column of the row

    Database IS 9Icolumn to line-> result stringEX:1.Select * from a;NAME CLASS MY NUMSALE 2 1030110301 2 SHIPSALE 2 1030210302 3 SHIP-------------------------------------------------------2 column in the rowCLASS NAME 10301 10302-> not fixedA      SELL