Hide the button until all Conditions are met?

Please help!  I am creating a forklift safety training module. There are 12 buttons on the first slide (see screenshot 1); However, only 11 are visible at the beginning of the slide.  The 12th button is a "continue" button that appears only after all the content slides (slides 2-12) were considered by the learner.  I used a conditional action to hide the button (something I learned from @Lilybiri) until all the conditions are met.


The problem:

The "Continue" button does not always appear once the content slides have been read.  I found I can do appear to ebb in each slide content, show the slides a few seconds more before returning to the main slide- which seems certain conditions which tells Captivate to display the button "continue".  Of course, I don't want the learners to face to the challenge of trying to understand why they cannot continue. I just want to visit the pages relating to each key to all conditions met.


Screenshot 1: the initial screen (actions related to the change of color of button below)

forklift_screenshot1.jpg


Screenshot 2: chronology of the page main interaction

forklift_screenshot2.png


Screenshot 3: conditional Action to display the button CONTINUE (created as a decision 2nd out of action of 'Transport').

My expectation was that OnEnter, slide would be recognized as read and count for the condition that all 11 pages of content would be considered before that appear the continue"" button.  I set the time to s 3.0 (see screenshot above) on all content slides.  No transition, no effect.

forklift_screenshot3.png


Screenshot 4: each slide content is returned to the slide main interactivity by an OnSuccess: jump to the command of the slide.  Nothing special here.  I tried to reduce all the content slides to 1.5 s nothing works.

forklift_screenshot4.png


Screenshot 5: an example of the page interaction BEFORE all the content slides were read and before 'CONTINUE' button appears (ignore the footer buttons; it was just me to experiment with styles of button).

forklift_screenshot5.png


That's a lot, I know.  I wanted to cover the entire base.  I would appreciate your thoughts and your expertise.  Thank you in advance!


Michael

How about what is probably very close to what you have already made... (After double checking all of your shares advanced for bugs)

Each main menu button sets the variable 'consulted' 1, hides the active button, show visited button, then jump to the content. Alternatively, you can put the action on the close button for each slide as you did.

Then in your main menu, you will have the conditional action on enter that verifies that each variable 'seen' is 1. If it is true, then it will show your button continue.

I use this method with almost all of the modules that are non-linear. I use it to display a button quiz start, tab summary etc...

To check your programming that I'm down in a text caption that has all the variables, you will have to look and make sure that they change to 1 as it should. As soon as something does not change probably you have found your problem. Also make sure that none of your actions changed to continue if you have accidentally deleted an object or something similar.

Also BTW: If you want to increment a variable, you use the action "expression" rather than "assignment." If you keep just assign 1 to a variable, all that you will ever get is 1. example: If the variable = 7 and you assign 1 then now variable = 1.  If you use the variable expression variable = + 1 then you will be able to increment. Also be careful if a user visits an article more than once because it increments the new variable unless you have a control to see if the content has been seen before, and then past increment. Otherwise they could visit the same section 11 times and then have the button continue become visible.

Tags: Adobe Captivate

Similar Questions

  • Need to disable the button until all the elements of the array was posted

    Hello

    I get a lot of help from this Forum, thought about getting more out of it. I am very new to AS3 and to do my best to get as much as I can that are still a few problems to come through.

    I am trying to disable the button on a specific image until all the Clips of film in a table are bieng is displayed, otherwise it should show another clip from movie plurarite the message that all video Clips are not displayed.

    Here's the scenario-

    SUMMARY.

    There are three buttons on the stage, the next image button, button to load the 1st Movie Clip (note1), button to load the second film Clip (note2)

    I'm counting the Clips of film with the length of the array (I don't know if I'm doing things), but the idea is that once all the video clips are loaded, next picture button must be activated in the case otherwise he must remain inactive, rather would display another clip of film as notice that all Clips are not loaded)

    Here is my Code.

    import flash.events.MouseEvent;

    btnnxt.mouseEnabled = false;

    var note1:Mc_Notice1 = new Mc_Notice1;

    var note2:Mc_Notice2 = new Mc_Notice2;

    function next(Event:MouseEvent):void

    {

    if(Count.Length == 2)

    {

    btnnxt.mouseEnabled = true;

    nextFrame();

    trace ("mouse is on");

    }

    else {}

    btnnxt.mouseEnabled = false;

    }

    }

    notes of the var: Array = [note1, note 2, note3];

    var numbers: Array = new Array();

    btnnxt.addEventListener (MouseEvent.CLICK, next);

    btnload1.addEventListener (MouseEvent.CLICK, hearings1);

    btnload2.addEventListener (MouseEvent.CLICK, load2);

    function load1(Event:MouseEvent):void

    {

    addChild (notes [0]);

    Notes [0] .x = 100;

    Notes [0] there = 100;

    Count.push (1);

    trace ('Count' + count.length);

    }

    function load2(Event:MouseEvent):void {}

    addChild (notes [1]);

    Notes [0] .x = 100;

    Notes [0] there = 100;

    Count.push (1);

    trace (counting);

    count0 = 1;

    trace (count.length);

    }

    Please help in fixing this error that I do not receive the required results.

    Help, please.

    Best regards

    Part of the problem is that you try to count by clicking a disabled button to activate this button.  As long as the button is disabled you can not use it for himself.  Instead of adding an event listener to btnnxt immediately, just assign it when it is ready to be used.  Whenever you load you need to check the value of the counter and if it is equal to 2, then you can assign the event listener for the btnnxt.

    You do not have a (County) table for that since you're using only its length property... a simple integer value will suffice.

    As I do not see you create a variable named note3, you probably get an error for this.

    In your function load2 you always aim the remark 1 placement where it should be placed.

  • do not start the calculation until all parameters are filled...

    Hey there!

    I have two little problems and I hope you can help me...

    1)

    See the topic of the discussion

    better than explaining could be an attachment, but I don't now how to download my forms here...

    before a field is filled in, this field is defined as a zero.

    and when the trys to form of division by zero i have an error... (something like: the format does not match...)

    so: is it possible that the calculation starts only when all parameters, that are neededfor the calculation, are filled?

    2)

    It is possible to hide the zeros with acrobat:

    If (+ event.value = 0) event.value = "";


    is it also possible to hide at the same time all negative numbers?

    or, which would be even better, show only numbers between 1 and 100?

    I'm sorry for my miserable English and I hope that my question is understandable...

    If please, thaks and soon!

    For the first problem, the general approach is something like this:

    Custom calculation script

    (function () {}

    Get the field values as numbers

    var numerator = + getField("text1").value;

    denominator = var + getField("text2").value;

    Perform the calculation

    If (denominator! == 0) {}

    Event.Value = numerator / denominator.

    } else {}

    This field blank if the denominator is zero

    Event.Value = "";

    }

    })();

    Where 'text1' and 'text2' are the field names in the calculation. You can have several domain response, but you should get the idea.

    For the second problem, if you're dealing with a calculated field, you must use a custom calculation script to deal with these limits. Without more information on the calculation, it is difficult to suggest a specific code.

  • Refresh the binding once certain conditions are met

    Hi people,

    I have a cfselect that is linked to an entry. Type a few characters in the triggers entry select it update its contents (which she gets a JSON string).

    Works very well. But I want more! I want that the event occurs only after 3 or more characters are entered in the entry. I could use {filter@none} in the impasse, but then I must refresh somehow bind it programmatically.

    I did some fairly exhaustive Googling, without any satisfactory results. Maybe it's a stupid question or a very weird...

    Any ideas?

    < input type = "text" name = 'filter' id = "filter" >

    < name cfselect = "seladdress" id = "seladdress".
    bind = "URL:index.cfm? Event = addresses. "{List & surname={filter@keyup}".
    display = 'NAME '.
    value = "ID".
    bindOnLoad = "false".
    >

    Yes, it's me you answer me.

    You can do this through this:
    http://cfsilence.com/blog/client/index.cfm/2007/10/22/refreshing-A-bound-CFSelect

    Then you use cfajaxproxy, which connects directly to your CFC. Since I want all requests, even AJAX, through my framework (model glue) I will not use this way.

    See another solution to:
    http://www.trilobiet.nl/blog/index.cfm/Coldfusioncustomtags

  • "All the conditions are met" - not exactly?

    Hello again! I'm experimenting a little, set up a mock up of the slightly more complicated project of Captivate to help some of my practice of co-workers with Captivate. I am under a problem but with one of my examples:

    I put a map of the world and six text entry areas to invite a user to name the continents (except Antarctica). I attributed to each box TE an associated variable where it is placed, that is the entrance area of text on Europe is associated with linked a variable titled 'in Europe. I want the slide does not advance until all mailboxes of YOU are properly labelling of each continent.

    Currently, for each main entry text box, rather than by a single shipment, a peak action occurs which assigns the associative variables with a literal name. For example, for action advanced in North America, marked NA_Check, it has an action to display a caption saying 'okay' and assign the NorthAmerica variable with a literal: "North America".

    An advanced global action runs when a user is trying to push a "Continue" button that checks the State of the variables. The conditional action because its properties 'if' that all the conditions are met with Asia = 'Asia', Africa = 'Africa', etc. of all human beings "AND". I assumed that with all of them being 'AND' they must all be true for this check properly. However, I have separate legends for the success or failure, and for some reason all I have to do is to get two correct and I can go forward as if I was 100% correct.

    I thought that maybe it had to do with the variables being assigned prematurely, so I made an action on enter which assigns each variable with "0" so that the entry in the text box would be the only way to make the correct variables. This doesn't seem to work. Any thoughts? Why only do two of the 6 conditions for success when I list all necessary?

    I'm not sure. Maybe a bug in the code of Captivate?

    I think I might rather assign some values to variables and do some calculations, and proceed only if the result is equal to a specific value.

    But that's just me... Rick

  • show/hide the button with the icon enabled when the condition is met

    Hello

    I created a B button with an icon of a sign of the green check mark.
    It must appear next to another A button when a condition is met.

    How can I better get this working B key, without using something else than the APEX.

    The condition is that some data has been inserted by clicking A button or simply exist in the database table.

    I tried conditional display of point with conditiontype "PL/SQL Expression.
    but could not make it work.

    TNX to tide me over.

    Cara

    Hello

    If you use the condition EXISTS (SQL query returns at least one row)?

    This could give idea how
    http://Apex-SMB.blogspot.com/2009/05/How-to-determine-if-user-can-view-apex.html

    BR, Jari

    Published by: jarola 18 November 2009 16:07

    Oh,.
    I paste the wrong link and can not find more good.
    Well anyway in this link is also example to condition EXISTS

    To meet this requirement I can add a condition (SQL Exists) to the Report 2 region on Page 2:
    

    It takes something similar and your table selection

  • I used creative cloud perfectly until one day asked me to update and I clicked on the button. All software has now changed from trial version and I have right to use within 10 days. What should I do now? Can I go back?

    I used creative cloud perfectly until one day asked me to update and I clicked on the button. All software has now changed from trial version and I'll lose the right of access of Illustrator, Photoshop and InDesign in 10 days. What should I do now? Can I go back?

    Hi Emily,.

    Please visit: https://helpx.adobe.com/manage-account-membership/cc-reverts-to-trial.html

    I hope this helps.

    Concerning

    Megha Rawat

  • Redirect to another page and hide the buttons

    Hello

    It is possibel to hide the buttons if I redirect on one page?

    Example:

    To Page 2, there is the 'Page 3' button. If someone clicks on the button will open the page 3.

    In Page 3, there are three buttons 'A', 'B' and 'C '.

    If I start on page 2 and change the site to click on the button 'Page 3' keys 'A' and 'B' will be hiding on page 3.

    If I start to on page 2 and the change of the site using the menu navigation on page three, all buttons will show up on this site.

    Workspace: TEST_OA5
    Username: [email protected]

    password: Hund456 (<-new password)

    Can someone help me?

    THX

    René

    RWErene81 wrote:

    It is possibel to hide the buttons if I redirect on one page?

    Example:

    To Page 2, there is the 'Page 3' button. If someone clicks on the button will open the page 3.

    In Page 3, there are three buttons 'A', 'B' and 'C '.

    If I start on page 2 and change the site to click on the button 'Page 3' keys 'A' and 'B' will be hiding on page 3.

    If I start on page 2 and change the site using the menu navigation on page three, all buttons will be displayed on this site.

    Add a value ask as PAGE_2_BUTTON for the button on page 2, and then make the buttons A and B on page 3, conditionally to aid a ask! = Expression 1 condition, with term 1 on PAGE_2_BUTTON.

  • Is there any option to make Firefox 10 DO NOT hide the button back and forth?

    It seems to be a new feature in Firefox 10 front and back navigation buttons are hidden whenever they can without navigating a site, but switch to another site or more (not sure). However, I would like to Firefox to never hide the buttons, just as it was before.
    I tried to find something that sounded in full subject: config, but I was not successful.

    This is a new feature when the "lock hole" buttons previous/next is to display.

    When 'Use small icons' is not selected in mode to customize, and it is not the whole story 'before' the button "Go forward one page" is hidden. The Back button ever should not be hidden that even when there is no history «back»

    For the button according to see all the time:

    • Open the--> Customize the Mode <- and select small icons at the bottom of the Palette.
    • Or, move a separator to the left of the address bar, to separate the "back" button and the address bar. Alternatively, you can move the home button, or one of the Palette to go back buttons and the address bar regardless of the other.
  • Hide the button label Radio via Javascript

    Aloah,

    I have a problem with the cache one option button and label.

    Location:

    I have two groups of Radio with 3 radio buttons.
    Click on a radio button within the first group, I would like to hide the 2 buttons in the second.

    I tried the x_ToggleItem of javascript functions, the x_Hide and the x_ToggleItemRow.
    But all the functions to do the same thing:
    They hide only the button (input type), but not the label (not the Label of the Radio group, but the radio button label).

    So my question is:
    How to hide the button Radio WITH his label?
    Or: How I address the label in JavaScript?

    PS: in the future I will bore you guys more often with questions: P

    MFG,
    Andi

    Hello Andi,

    The problem is that the current implementation of the input element radio group and the label are "separated". There is no common parent (as it should be IMHO).

    But there is... jQuery. Using jQuery you can hide an element with the id and hide the label using the next() method.

    If something like this (where P13_RG1_3 is the 3rd option in a radiogroup):

    $('#P13_RG1_3').hide (); $('#P13_RG1_3').next () .hide ();

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Show or hide the buttons of the model using JavaScript

    Can someone tell me to know to disable, show and hide the buttons of the model using JavaScript? In my case, I use AJAX for validation and the validation failed, I want to deprive the person's ability to submit the form. I did successfully using the HTML buttons but they seem ugly and do not correspond to the theme of the application. I really want to do using the model based buttons. Anyone know the answer to that?

    You can find that here:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:143

    The only problem you have to solve is to assign an id to each template button. Rather than use an id string coded hard = "buttonHide1" as in my example, you could use id = "" #LABEL # "If there are a lot of different buttons you need to display / hide on a single page." However, at the same time make sure that the processes are also conditional and follow the logic. To hide a button, this isn't a guarantee that a process can not be executed.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Hide the button

    Helllo all,.

    How to hide the button EXPORT in the DocumentViewerRN? The export button is filled in when the user clicks on the button RUN in this region. So I need to make this button visible EXPORT button press the button RUN.
    Note: This DocumentViewerRN is a seeded region I import in my page to view my pdf output.

    Thank you much for the help in advance.

    Kumar

    Hello

    you need to expand the controller in the region and processformrequest
    get the handle to the submit button run and set the property made by.

    Thank you
    Gerard

  • Hide the buttons?

    What would be the best way to do it.  I have a form that has a few buttons - only email/text/print/save/play area.  They are set to print do not, when sending as an attachment (e-mail), I don't want the buttons visible to the receiver/player.  What is the best way to do it?

    Thank you

    From your previous posts, I guess that it works with the drive you need. If Yes, what is the latest touch user reader uses just before emailing off? They define the fields read-only except and send an email? In any case, you could add code or hide field activities for the last used button that hides the buttons. A script of mouse upward for the last used button might look like:

    Hide some buttons

    getField("print").display = display.hidden;

    getField("save").display = display.hidden;

    Repeat for other fields

    Change the field names in the code above with the actual names of the buttons on your form.

  • Is there a way to hide the button of hamburger?

    Is there a way to hide the button of hamburger?

    http://userstyles.org/styles/101011/hide-Firefox-menu-button

    or using a userChrome.css file

    @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
    
    #PanelUI-menu-button {display: none;}
  • Customization of the user interface in 4beta2: hide the button new tab

    Question

    I have another type of problem with Firefox

    Description

    I want to know how to hide the button new tab especially when (be precise)
    tabs [[overflow = "true"]
    I tried to change this code:

    .tabs-newtab-button {
    display: none
    }

    but during overflow the new tab button appears again.
    Maybe this isn't the right place for these issues, I still need a solution

    Version of Firefox

    4.0b1

    Operating system

    Windows 7

    User Agent

    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; B 1 RV:2.0) Gecko/Firefox/4.0b1 20100630

    Plugins installed

    • -Shockwave Flash 10.1 r53
    • 4.0.50524.0
    • Adobe PDF plugin for Firefox and Netscape "9.3.3.

    Try:
    #new-tab-button, .tabs-newtab-button {
    display: none;
    }

    You can also drag the new tab button in the window customize (view > toolbars > customize)

Maybe you are looking for

  • Windows boot image not deleted.

    Hello people, I recently had a problem (associated virus) with 10 installed windows on my MBP 2015 to lead back me to zero and I did because I had the same problem with a windows pc and it was perfect. Once the reset is complete, I noticed that the b

  • Switch default behavior - PXI2503

    Good afternoon I have a few questions about the behavior of my 2503 PXI switch module.   When I close a relay on my switch I hear the click predicted.   Therefore, it leads me to think that something in the breast could wear out over time... I want t

  • WRT150N could not connect to the internet!

    My uncle gave me a new internet router WRT150N. When installing, I get all the way to step 11, when I get a window that opens and tells me that my router cannot connect to my internet. He said to turn my modem on and apart and start over. First of al

  • X 1 carbon ThinkPad Fingerprint Software Windows (after upgrade)

    ThinkPad X 1 carbon running Windows 8.1 (recently updated) After logging in using the fingerprint reader - works properly when recording on - the software of fingerprint opens in the office and guests of password or your finger drag. What is happenin

  • How to return to windows 7

    Windows 8 has so many problems with my laptop and I want to go back to windows 7, especially because the preview has expired and it is time, I herd you need a disc my father back creates a with his laptop which is different than mine could I use it?