Conditional actions and variables

Hi everyone,
I have a slide (below) that has 3 buttons. The aim is that when each button is pressed a text box appears next to each button with additional dialogue. When the user has clicked on all 3 of the buttons, only then will the back and next button pop up, allowing the user to move on. For this example, I am only going to test it with 1 button.
I
The variable I have created for this slide is set with a value of 0.I have set up a conditional action ' on enter slide' , where if the variable is equal to 1, the two shapes appear. On the button which you press to make the dialogue box appear, I have set up an advanced action which assigns the variable a value of 1, and shows the dialogue box. This is triggered by clicking on the button.
Despite this, the back and next button do not show when I click that first button. Does anybody know why that is?

I have multiple examples of this scenario on my blog, but OK, here we go another time. The On Enter action is only executed when the slide is ENTERED again. Each action has to be triggered by an event.
Events and (advanced) Actions - Captivate blog
What David is asking is not a description of the action but the actual Preview of the action.
To me it is also not very clear, which button is doing what. Please a screenshot of the timeline as well.

Similar Messages

  • Am I able to create a conditional action or user variable on a question slide?

    Hey everyone
    We have modules where there is content slides mixed with question slides. We want the learner to answer the questions and not skip them so originally we removed the next button and just used the continue function of the question. We have lots of feedback from people that they are getting stuck as they want to go back and review the content but once they hit the question slide again (which they may have already answered) they cant get past it as they have already answered it and there is no 'next' button so they have to close and reopen the module.
    Is there a way to make it so they have to answer the question but once they have answered it the 'next' button appears so they can then keep going back and forwards within the module. I was wondering if it was possible using a conditional action or user variable?
    Thanks
    Sarah

    Go to Quiz > Settings > Required drop down and set to Answer All - The user must answer every question.

  • How do I have the learner perform a conditional action based on a button selection?

    The learner needs to select a checkbox on the screen of a performance exercise.  I've put the widget in for the checkbox and it works fine.  After the select the checkbox, they need to select OK on the screen to move them onto the next screen.  However, I don't want the learner to just select OK without selecting the checkbox in order to replicate the sequence correctly. 
    I have a slide which shows the message  which tells them as to what they did wrong when they select OK without checking the box, but when I tie that to the correct response, it will go there whether they select the checkbox or not.
    I've tried adding multiple actions to the button, which doesn't work, becuase the OK button has to be tied to the learner conditionally selecting the checkbox to move on to the correct slide.  If I use multiple actions, and the first action is to SHOW  the slide with the incorrect message, if they correctly check the box and then hit OK, it will first SHOW them the incorrect slide.
    I think what I need is a variable and then add an advanced action with a conditional statement.  However, I don't really know how to do that.  Here's the variable I created, but I don't know what value I should assign.  Here's the screen shot of the variable and conditional statement.  Could someone tell me how to do the variable and the conditional statement so that the learner when selecting OK WITHOUT selecting the checkbox first will be redirected the the error slide and if they select the checkbox FIRST, and then OK, they move on to the next screen?  Thanks,

    Thanks, you definitely got me started on the right track on variables and advanced action statements.  The screen shots helped.
    Here's how the actual fix went to make sure the OK button on the screen had a conditional statement attached to it, with
    an advanced action:
    I created parameters for the widget to link to the variable:
    I created a variable:
    Then I created an advanced action conditional statement for that variable which enabled the button to advance to the next slide when the clickbox was checked:
    Then where I finally realized my final mistake was not setting the button properties to execute advanced action:

  • Problem with advanced action and a counter.

    Hi!
    I got a problem on a project with a counter and advanced action.
    I got 7 words (3 wrongs and 4 rights), each associate with captions that shows on click
    When the students had clicked on the 4 rights (and their captions are shown), the 3 wrongs captions are shown.
    variable:
    v_count
    on wrong words:
    simple action: on click, show captions
    on good ones:
    advanced conditional actions:
    1) IF 1=1, THEN show > caption and v_count = v_count + 1
    2) IF v_count=4, THEN show> all captions of the wrongs
    The problem is: (Only when seen in browser) when I click on 3 rights (and not 4), all captions are shown! I have tried to put v_count=5, but then nothing happens.
    Really, I'm lost! Have an idea of what could cause that problem?
    Thanks
    Laurie-Anne

    You already posted this question, thought I asked you if I could have access to your file, because with this explanation only it is a bit difficult to answer. But I cannot find the thread anymore...
    Maybe I'm wrong, or you did not see this answer?
    Lilybiri

  • Conditional action script not executing

    I have four buttons, Q1, Q2,Q3,Q4.  the script for each works fine:  the variable (ex. Q1) is set equal to 1 and the other functions perform as scripted.  When all four buttons are clicked on and equal to 1, another script (Slide_End) is supposed to work--hiding a box on the screen and showing the Next button.  This Slide_End script is not working.  I have the slide properties On Enter assigned to Advanced Actions>Slide_End.  The Slide_End script has been labelled as All Clicked within the script itself.  I just can't understand what I am missing.  I have the exact same settings on another slide and it works fine.

    Never had a formal training neither, but have been blogging about advanced actions and solving use cases for many users. And wrote some articles long time ago, here you can find the link with those:
    https://workspaces.acrobat.com/?d=tGgSjfVqRtEgI6fORG-zbw
    Normally for a standard action, you choose 'Standard action', not a 'Conditional action'. Have a look at this old presentation, maybe it will clarify something:
    http://blog.lilybiri.com/presentation-devlearn-2011
    Double click on the second 'Untitled' and you have a second possibility to check something. The first condition will always be fulfilled  (IF 1 is equal to 1) so that is really a standard action. The second Untitled will be your real condition where you check all the variables and have two different sets of statement/commands depending on the answer Yes or No for that condition.
    Lilybiri

  • On slide entry conditional action that jumps to another slide?

    I assumed this would work, but it's not - should this work and I've got an error somewhere or do I needd another approach?
    So I have a menu slide with 6 buttons, each button simply jumps to a specific slide.  On each of those slides is a return button with an action that increments a variable (varCount) and jumps back to the menu slide.  I would like to set it up where once the user has hit all the slides (varCount=6) and hits return, the menu is bypassed and they are jumped to a closing slide instead.  To do this I tried to create a conditional action that compares the variable (if var = X then goto slide Y) and the have that action run on entry on the menu slide.  However this doesn't appear to work.  Should it?  I know as an alternative I could modify and put the conditional on each return button instead, but before I do I want to see if I'm missing something on the current aproach
    Version 6

    Hi there
    Where exactly are you setitng the variables?
    One thing I would try is to insert a text caption object on the first slide that presents the variables. Configure it to present for the whole project. Then run the project and test. This will tell you whether the variables are getting set. If they aren't properly set, then your evaluation of whether the cumulative total is reached will fail.
    Another thing to ask is if there is a scorable object between the slide where you are running the advanced action and the slide where you want to go. If so, your quiz settings may be preventing the slide from being reached. For example, if you have a question slide that hasn't been answered and the quiz settings say all questions must be answered.
    Hope this helps;;; Rick

  • I'm having an issue displaying a button using advanced actions and rollover slidelets.

    I'm having an issue getting a button to display after the learner places his mouse over three different rollover slidelets which are all on the same slide. I created three variables and assigned each to the rollover slidelets. I also created a conditional action that I assigned to the slide. The variables are set to zero and then the action is to assign the variable with 1 after it's rolled over. The conditional action says that once all three variables are equal to 1, show the button and continue. Unfortunately the button is not displaying after the three rollovers have been viewed. Any insight?

    I can only suspect what is going wrong, it would have been a lot easier if you did show those actions.
    My suspicion is due to this sentence '... a conditional action that I assigned to the slide'? There are two slide events: On Enter, and On Exit. Read more about those events:
    http://blog.lilybiri.com/events-and-advanced-actions
    Those events can trigger an advanced action but only at that frame: first frame (On enter), last frame of the slide. But you expect the button to appear when the three rollover events have occurred? That means the condition has to be checked by each action triggered by the rollover events. Have multiple examples on my blog for such use cases, latest one was:
    http://blog.lilybiri.com/blog-after-posterous-clickclick
    Shortly:
    Use the On Enter event of the slide to reset the three variables to zero, that will be a standard advanced action with three Assign statements (this is not necessary if you never expect the user to return to that slide)
    Use each Rollover event to trigger a conditional advanced action with two decisions:
    First decision 'Always' will be a mimicked standard action, and toggles that variable to 1
    Second decision 'Checkit' will have your condition to see if the three variables are equal to 1, if Yes show the button, if No, nothing has to happen (or maybe Continue, depends on setup)
    Lilybiri

  • Advanced Conditional Action does work when I add second condition

    I am using CP 8. I can't figure out why I'm running into this problem. I have a series of If-Then conditional actions, but I'm running into problems. I've narrowed it down to this one problem.
    This is a simple check mark box that should either show the check mark or not.
    As long as I only have one condition, it works fine. As soon as I add the second condition, it stops working.
    Any suggestions? I appreciate the help!

    I have 6 statements. Some are true and some are false. I'm trying to communicate that the more false statements they assume, the bigger their problem. The size of the problem is represented by my "Hope" variable. This is used to show / hide a meter with 6 levels.
    Checkbox - 1. False Statement - Decrement Hope if they check
    Checkbox - 2. False Statement - Decrement Hope if they check
    Checkbox - 3. True Statement - Increment Hope if they check
    Checkbox - 4. False Statement - Decrement Hope if they check
    Checkbox - 5. True Statement - Increment Hope if they check
    Checkbox - 6. False Statement - Decrement Hope if they check
    My head started to spin when I thought about all the possibilities, so I was going to write an advanced action for each statement.
    Since my meter has 6 levels, I numbered them 5-10. Above, I show the one that is they are 10 or higher, then show all the meter levels. I thought I could add the additional condition that if the checkbox is 0 or 1, then, I'd either do the opposite of the score: decrement or increment. So, each checkbox would have 12 conditional statements:
    Statement One (False Statement) would be:
    Check Box, Hope = 10. Decrement. Show 4 Meters.
    Check Box, Hope = 9. Decrement. Show 3 Meters.
    etc.
    Uncheck Box, Hope = 10. Increment. Show 5 Meters.
    Uncheck Box, Hope = 9. Increment. Show 4 Meters.
    etc.
    It seems like that is causing problems in my sequencing for me. Which ever one I put first, it's going to go to the next one.
    Is this clear? I'm happy to send you the file if that helps.
    Thanks for the help!

  • Need a conditional action as consequence of selecting five separate buttons

    Hiya
    Say you have five buttons.  I need the learner to select all five, in any sequence, and when all five are selected a feedback box will pop up.
    The curlier part is that also, if just a select four are selected alone, another pop up will appear.
    Anything you have that can help would be life saving.

    Yes, at 1am I was in dreamland. Posted my answer at midnight.
    Why do you use y as first character (is not a bug, just wondering)? My labeling system is that I want to see the nature of everything, that is the reason why I start variables with a 'v'.
    What are those buttons triggering? The action that they have to execute has to be added to the conditional action with three decisions that I described above. Probably to the first decision, which is a mimicked standard action. The sequence is very important in this conditional action:
    In the first decision, the associated variable to that button will be toggled to 1 from its value 0. I didn't use the Toggle command, but Assign, in case the user can click more than once on the the button.
    When the variable has its proper value, I calculate the sum of the 5 variables and store that value in v_counter. Captivate has no SUM function, that is the reason of the sequence of 4 Expression statements.
    After or before those statements you'll have to insert what you want this button to do: show a caption, an image, a highlight....I don't know, you didn't tell.
    Now v_counter has its correct value, only then I check first if that value is 4, which would mean that 4 different buttons have been clicked (eventually several times) in any possible sequence (hence the 5 variables, only a counter would not work in this case). If that value is 4 you pop up the text that you wanted. In this case it is not necessary to hide something (except if you want to hide something you popped up with the button itself?).
    If v_counter is not equal to 4, maybe it is equal to 5 which is checked in the third decision. But in that case, the text that appeared with 4 clicked buttons is still there, so I first hide that text, then pop up the last text.
    If neither the second nor the third decision results in TRUE, nothing will happen, except the statements in the first decision.

  • SOAP Use Adapter-Specific Message Properties and Variable Transport Binding

    Hi Friends,
       I am new to use to Soap Adapter. Please help me out bellow doubts.
       1.When you use Use Adapter-Specific Message Properties and Variable Transport Binding .
       2. Where exactly  we r using below parameters.
    Remote User : (technical name: SRemoteUser )
    Remote Host : (technical name: SRemoteHost )
    SOAP Action (technical name: SHeaderSOAPACTION )
    To transfer further header fields, set the relevant indicator. You can then store the following attributes and their values in the XI message header:
    Variable Header : (technical name: XHeaderName1 )
    Variable Header : (technical name: XHeaderName2 )
    Variable Header : (technical name: XHeaderName3 )
    Thanks&Regards
    G.Bhanuprakash

    Hi,
       1.When you use Use Adapter-Specific Message Properties and Variable Transport Binding .
    SAP Help says both are needed to be checked when you want to process adapter attributes
    Configuring the Receiver SOAP Adapter - SAP NetWeaver Exchange Infrastructure - SAP Library
    These attributes can be get/set using dynamic configuration and their technical names are what you have pasted:
    Remote User : (technical name: SRemoteUser )
    Remote Host : (technical name: SRemoteHost )
    SOAP Action (technical name: SHeaderSOAPACTION )
    To transfer further header fields, set the relevant indicator. You can then store the following attributes and their values in the XI message header:
    Variable Header : (technical name: XHeaderName1 )
    Variable Header : (technical name: XHeaderName2 )
    Variable Header : (technical name: XHeaderName3 )
    Remote User - the username used to send a message to the adapter engine using SOAP
    Remote Host - hostname which the remote user used
    SOAP Action - SOAP Action of the XI webservice (sender) / SOAP Action of the receiver webservice
    Variable Headers are additional key-value pairs in the HTTP Header that could be accessed in the XI Header using dynamic configuration. The limit is only three though.
    Regards,
    Mark

  • Help with Conditional Display and Validation

    Version 4.1.1.00.23
    Hello,
    I'm having a difficult time with a conditional display and validation I'm hoping someone can help with.
    Requirements:
    When the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox)
    If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL)
    What I've tried
    Create a Dynamic Action on the Start Date
    Event: Change
    Selection Type:Item(s)
    Items(s): P51_START_DATE
    Condition: none
    True Action Section:
    Action: Show
    Fire on Page Load: Checked
    Show all page items on the same line: No
    Affected Items Section:
    Selection Type:Item(s)
    Item(s): P51_CHANGE_REASON,P51_CHANGE_DESC
    I've also created a Dynamic Action with similar settings for the P51_END_DATE.
    I created a Validation for the P51_CHANGE_REASON as Function Returning Error Text:
    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    The Issue
    I tried to create another Dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields on page load, but when either of the date fields are changed and the validation is fired the P51_CHANGE_REASON and P51_CHANGE_DESC are hidden again.
    There are two buttons to submit the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will submit the page and branch to the previous page (which is a report with EDIT buttons to edit the record).
    I can't get the page load Dynamic Action to NOT fire when the validation is fired.
    I hope this is clear and if not what information can I provide?
    Thanks,
    Joe

    Phil,
    Thank you for looking at this.
    Yes if the Change Reason is NULL when the edit page is displayed then the Change Reason and Change Description fields are hidden. If the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox). If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL).
    The problem I'm having is that if no Change Reason is entered and the page is saved thereby firing the validation the Change Reason and Change Description fields are hidden again (because of the On-Load Dynamic Action to hide them). So now the user can't put in a Change Reason...unless they change one of the date fields again which isn't going to be accepted.
    Is there a way to determine if a validation error was fired and be able to use that on the On-Load Dynamic Action to hide the two fields? Something like...If the validation fired then don't run?
    Please let me know if I'm still confusing you.
    Thanks,
    Joe

  • Multiple exams in one project and variable

    Hello captivators,
    How do I make a captivate project with multiple exams. And with variables (widgets) that I need in the whole project.
    In the intro of the project you can select a character. That selected person is the visual coach (different branding) for the course.
    The student needs to through an intro module, next he can choose 6 parts of the course.
    One part = intro,n * show me, n * practice me, 1 * exam.
    The student needs to follow 1 part to the end. And then return to the intro.
    1st option: one project
    I can’t seem to make multiple examns with multiple results
    2nd option: multiple CP’s
    Then I have problems with the variables that are only known in one CP (SWF)
    3th option: Aggregator
    Then I can’t make condition. And I can’t hide the captivate menu when exported. I need conditions.
    HEEEELP Please,
    Koen

    I've not tried something like this to advise on whether it's possible in Captivate natively...but you've seem to have looked at all options and not found it possible. If that's the case, then perhaps the best option is to make the 'aggregator' in Flash, where you load each related CP file as the condititions are met. It's definitely possible to do, as one of my colleagues always uses his own 'Flash Shell' for this sort of thing. Possible for you, and ok in the project constraints?
    Erik

  • Illustrator Data Sets and Variables Help Please

    Hi, how's everyone doing?  I need a little help with Data Sets and Variables, or at least i believe that's what i need help with.  Ultimately i am trying to run an action on a batch of files. 
    I have an eps file with two images placed side by side.  They are the same image.  I am trying to replace both images and save the file accordingly.  Trying to make this happen using a bunch of files.  All the files can be in one folder and will be the same size. 
    I hope this make sense and what i need done is doable.
    Any help or advise would be greatly appreciated.
    Thanks in advance.

    Not sure a I read you correctly but if I understand you
    what you have to do is make the first two images as dynamic variables using the variable panel and save it as a data set
    then replace those two images and save those as a data set
    So now you have data set one and two.
    You can save that as an variable library (xml)and that can be loaded into other documents.
    The question is can it be actioned?
    It can be scripted and do you want the same two images to replace the same two image in each document.
    I think you really have to tell us more.

  • Secret data sets and variables in photoshop elements.

    In photoshop elements 4 thru 8, you can use data sets
    and variables, with the actions recorded for them in
    photoshop and then installed into photoshop elements.
    They work exactly like they do in photoshop and in fact
    there is already a menu item in photoshop elements,
    under in export menu, called export data sets as files.

    Not sure a I read you correctly but if I understand you
    what you have to do is make the first two images as dynamic variables using the variable panel and save it as a data set
    then replace those two images and save those as a data set
    So now you have data set one and two.
    You can save that as an variable library (xml)and that can be loaded into other documents.
    The question is can it be actioned?
    It can be scripted and do you want the same two images to replace the same two image in each document.
    I think you really have to tell us more.

  • Multiple Conditions\Actions in a Workflow

    I am in the process of creating an expense approval form with a workflow that has two Approval stages. In the first stage, however, the approver would be dynamic based on a selection in the form. The second stage approval would go to the same
    person\group. What's the best\correct way to do multiple\conditions\actions in a single step? As an example of the workflow:
    If Field1 equals Value1 Assign a task to Person1. If Associated Task is Approved create a new Task and Assign it to Person 10
    there would be about 12 different iterations of the first step, Value2 Assign to Person 2 and so on.

    Hi pjs, it depends on who the person is/how they're related to the selection on the form. If it's the user's manager, you can get that information by using the link below. If there's no real correlation to the selection made, then you'd have to make a list
    with two columns- "selection" and "person to email." Then check that list against the selection and get the corresponding email for the particular approver.
    http://www.sharepointanalysthq.com/2011/04/user-profile-data-in-sharepoint-designer-workflows/
    cameron rautmann

Maybe you are looking for

  • Please help trying to get "Remote" app to prompt me for passcode

    I am pretty good at these things and for some reason after installing the app on my iPhone 3G I am unable to use the passcode thats given because I get no prompt on the sidebar to enter it in. I see a lot of complaints in the app store about this not

  • Moden/Router in other room

    I had another router and it went out last week; so bought new one, WRT54G.  My modem is actully located in the den but my desktop is in the bedroom.  I moved the modem to the BR so I could connect the router up and it's working fine here; BUT I want

  • Calls for business

    I am a bit confused about the ability to use Skype for unliminted calling. I am an insurance agent and I make many calls during the week to prospective and existing cliients and insurance companies . Am I eligible to use Skype for my insurance busine

  • Issue of Security about Java Source Code

    At most time Java compiler compiles the *.java source code into *.class files and then pack them in *.jar files running in the Java VM or as applet running on web pages. Recently I find a tool named cavaj that can decompile *.class files into *.java

  • Mixing CSS colors and image files from Photoshop for web

    Hello, I recently encountered a web production color issue and wanted to collaborate with other web producers to either inform or to see if there isn't a better work-around.... A web site design has a particular color palette and some elements are co