Can I put a condition on a button?

I am trying to put a condition on a next button.  I don't want the user to be able to click the next button until another button has been clicked that opens a URL to a PDF document.  Right now the user can click on the next button and still advance to the next slide whether or not the URL button has been clicked.
I am use to working in Articulate Storyline where you put multiple triggers on buttons and conditions on the triggers.  I can't seem to figure out if this is possible in Captivate 6.  I see where you can make buttons visible and have them appear but can't figure out how to make it appear after the other button has been clicked and still have it jump to another slide.

Do you need that? If you hide (best) or disable the Next button until they have opened the URL this is not necessary. A button has also Success/Failure/Hint captions (see Options accordion) but the Success caption appearing will not prevent the action on the button to be executed.
If you want to do that instead of hiding the button, there are several possiblities. Do you use Captivate 6: use a smart shape as text container and turn it into a rollover shape, with the area over the Next button. When the user moves over that Button he will see the message. In previous versions and in CP6 as well you could use a rollover caption for that goal. Bit more complicated because it will need a conditional advanced action is a Hide/Show action for a text caption or a shape as text container when the next button is clicked. To track the click on the other button that opens a file/URL you'll have to create a user variable that will have to change from 0 to 1 if it is clicked (with the same standard action you already discovered), and on the Next button you'll check first if the variable has been set to 1, if not you show a warning, if it is changed you'll proceed to the next slide.
Lilybiri
PS If your question is answered, could you please mark the thread as answered?

Similar Messages

  • How can I put Locale.loadString("IDS_001") into button.label

    I am retrieving the Locale from the system, and need to place the fields of the Array into their respective places.
    One of these being for example,
    IDS_001
    This works, and returns what I'd probably expect. Although why it returns multiple instances I can't yet figure.
              public var vIDS_001:String;
              Locale.autoReplace = true;
                     var localeName:String = LocaleID.DEFAULT;
                     var nf:StringTools = new StringTools(localeName);
                                   trace("Actual local ID: " + nf.actualLocaleIDName);
               var defLang:String = nf.actualLocaleIDName;          
                                              trace( "Last Operation Status: " + nf.lastOperationStatus ); 
               Locale.setDefaultLang(defLang);
               Locale.setLoadCallback(localeCallback);
               //Locale.addXMLPath("defLang", "../en/PinPointPremium_en.xml");
                          Locale.addXMLPath("defLang", "../" + defLang + "/PinPointPremium_" + defLang + ".xml");
               function localeCallback(success:Boolean) {
                if (success) {
                    // trace(Locale.stringIDArray); // IDS_GREETING
                     trace(Locale.loadString("IDS_001"));
                     var vIDS_001 = (Locale.loadString("IDS_001"));
                     trace("+++" + vIDS_001);
                } else {
                     trace("unable to load XML");
    Actual local ID: en-GB
    Last Operation Status: noError
    PinPoint the Entered Address
    +++PinPoint the Entered Address
    PinPoint the Entered Address
    +++PinPoint the Entered Address
    Test Movie terminated.
    This is the button code, and I'm trying to figure out how to get that IDS_001 information into the btnGPS.label. No matter what I try, it errors out
                 btnGPS = new Button();
              btnGPS.width = stage.stageWidth - 20;
              btnGPS.height = 25;
              btnGPS.x = 10;
              btnGPS.alpha = 0.9;
                    // btnGPS.label = "PinPoint My Current Location";
              btnGPS.setStyle("textFormat", btnFormat);
              btnGPS.y = stage.stageHeight - 46;
              btnGPS.addEventListener(MouseEvent.CLICK, btnGPSMouseClickHandler);
              addChild(btnGPS);
    None of these following work in place of the original
                    //btnGPS.label = Locale.loadString("IDS_001");
              //btnGPS.label = IDS_001;
                    //btnGPS.label = vIDS_001;
    Theoretically, loading the Locale XML file should populate the occurences of IDS_001 - but I'm totally lost now. Been looking at this for a few days and now can't see the real picture. Does anyone have any idea how I solve this please ... I know this is so simple, but I can't get it.
    thanks

    ok, I need to get back on track.
    The app works and is fine. No problem with buttons etc. It's localization.
    .... and this works - finally
    private static var loc:String = null;
    private static var my_txt:String = null;
    // Checking for LocaleID for globalization.
    // Localization stuff. AS3 2013. (using latest CS6 Flash Pro, AIR and Flex SDK libraries)
    // This example is based on the iPhone/iPad, iOS Template in CS6
                                  // get the system language. That's al lwe need. What language is the user using
                                  loc = Capabilities.language;
                                  // if it's en-GB for example, make en_GB
                                  // loc = loc.replace("-","_");
                                  trace("The default system: " + loc);
                                  loc = "de";
                                  trace("The new system: " + loc);
                                  // you can add individual paths for each language like this
                                  Locale.addXMLPath("en", "en/PinPointPremium_en.xml");
                                  Locale.addXMLPath("de", "de/PinPointPremium_de.xml");
                                  // or set your language to the system default and use that
                   // I put the system language into 'loc'
                                  Locale.addXMLPath(loc, loc + "/PinPointPremium_" + loc + ".xml");
                                  Locale.setLoadCallback(localeCallback);
                                  Locale.loadLanguageXML(loc);
                                            function localeCallback(success:Boolean) {
                                                      if(success){
                                                                //var my_txt:String = Locale.loadString("IDS_001");
                                                                my_txt = Locale.loadString("IDS_001");
                                                                trace("The IDS_001 field is: " + my_txt);
                                                                // returns "PinPoint der eingegebenen Adresse" which is ok
                                                                } else {
                                    trace("unable to load XML");
    /* Output
    The default system: en-GB
    The new system: de
    The IDS_001 field is: PinPoint der eingegebenen Adresse
    Part 2 is the Button. AND is is this that is tricking me.
    I repeat - how do I put the contents of IDS_001 into btnGPS.local with
    IF I can put 'loc' into the label, with
    btnGPS.label = loc;
    why can't I do this
    btnGPS.label = Locale.loadString("IDS_001");
    btnGPS = new Button();
    btnGPS.width = stage.stageWidth - 20;
    btnGPS.height = 25;
    btnGPS.x = 10;
    btnGPS.alpha = 0.9;
    //btnGPS.label = "PinPoint My Current Location";
    // ==============================================
    // This actually works - it places "de" into the button. as it should
      btnGPS.label = loc;
    // this doesn't put the contents into the label
    //btnGPS.label = Locale.loadString("IDS_001");
    btnGPS.setStyle("textFormat", btnFormat);
    btnGPS.y = stage.stageHeight - 46;
    btnGPS.addEventListener(MouseEvent.CLICK, btnGPSMouseClickHandler);
    addChild(btnGPS);

  • How can I put the "open new tab" button back to the right of the right most tab in FF 4?

    It's very annoying to have to go up to the corner to click on the open new tab button when it used to be to the right of the right most tab. I have other buttons, like print up there and have to think about which one to click. What was wrong with where it was? It worked for me. At least tell me how, or allow me to change it back. It is one thing to make a product faster but allow the users to keep things in familiar places if they want. I've liked that option on Firefox with most things. I've been a Minefield then Shiretoko user for a number of years an I think I will stick with it for the foreseeable future.

    Thanks. I don't know why it wouldn't just go back there when I tried putting it back? I didn't change anything, so I assumed the new "default" was over on the left. Glad it was a simple solution after all.

  • How can I put check conditions when using Function 'LDB_PROCESS'

    Hy experts,
    I am using LDB_PROCESS and I don't know how to use check conditions in the callback forms.
    for example:
    FORM CALLBACK_QALS USING  NAME  TYPE LDBN-LDBNODE
                              WA    TYPE QALS
                              EVT   TYPE C
                              CHECK TYPE C.
    CASE EVT.
       WHEN 'G'.
         MOVE-CORRESPONDING wa to ITAB_QALS.
         APPEND ITAB_QALS.
    ENDCASE.
    endform.                    " CALLBACK_QALS
    Have anyone an example of how I can use check conditions in this type of form???
    thx in advance

    Hi
    U should indicate in which node (the GET) you need to check the condition, you form should have the following interface:
    FORM <formname> USING <nodename> LIKE LDBCB-LDBNODE
                           <workarea> (LIKE ...)
                           <mode>
                           <selected>.
    So the code should be:
    CHECK <WORKAREA>-FIELD = ............
    Max

  • Please can you put the "Open New Tab" button back where it was on the right hand side of the tabs, or at least give an option to put it there? Thanks.

    In the line of tabs along the top of the screen, there used to be an extra tab with a + in it that you clicked to open a new tab, on the right hand end of the tabs. As the tabs always float left and new tabs appear on the right this was (in my opinion) the most logical place for it. However, now the only two places I am able to put this "tab" are at the extreme left, which is illogical seeing as the new tab appears on the right, or in the toolbar along with other tools. This is adequate, but I would prefer to see the "new tab" tab back where it was.
    The option to put it on the far right of the tab ribbon was not working until this latest version of Firefox, by the way, but I'm sure you know this!

    Thanks. I don't know why it wouldn't just go back there when I tried putting it back? I didn't change anything, so I assumed the new "default" was over on the left. Glad it was a simple solution after all.

  • Can i put images on a button

    Hi i have some omages which i need to put on a button can i do that in java. I cannot use swings cause i am using java 1.1.7. can i do something using awt.
    Is there ImageButton in jdk 1.1.7 ???
    Please help me in this.
    Please post a sample code if any one can
    Thanks
    Ram

    Hi This is my actual program.
    I have some images posted and some buttons. But can i click on the images to open new files or can i put an image on a button. I donno how to use mouse click. or how do i map an image.
    Can i also mouse click on a text string???
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.event.MouseEvent;
    import java.applet.*;
    import java.io.*;
    import java.lang.String;
    public class chemviz extends Frame implements ActionListener
         private Button offwaltz, nanocad;
         private Panel PagePanel, buttonPanel;
         private Image logo;
         private Image nanocadhome, waltzhome;
         //private TextArea TextArea1;
         private String About = "About";
         private String test= "This is a Test";
         //test.setFont(new Font("Arial",Font.BOLD,12));
         public String line1 = "ChemViz (Chemistry Visualization) is an interactive chemistry program which incorporates computational chemistry simulations ";
         public String line2 = "and visualizations for use in the high school chemistry classroom. The chemistry simulations support the chemistry principles ";
         public String line3 = "teachers are trying to convey, and the visualizations allow students to see how matter interacts at an atomic level.";
         public void loadPanel()
              //ImageIcon offwaltz = new ImageIcon("images/waltzhome.jpg");
              //offwaltz = new Button(offwaltz);
              offwaltz = new Button("OffWaltz");
              offwaltz.addActionListener(this);
              nanocad = new Button("Nanocad");
              nanocad.addActionListener(this);
              buttonPanel = new Panel(new FlowLayout(FlowLayout.CENTER));
              buttonPanel.add(offwaltz);
              buttonPanel.add(nanocad);
              //TextArea1 =new TextArea(text, 10, 100);
              MenuBar mb = new MenuBar();
              setMenuBar(mb);
              Menu fileMenu = new Menu("File");
              mb.add(fileMenu);
              MenuItem exitMenuItem = new MenuItem("Exit");
              fileMenu.add(exitMenuItem);
              exitMenuItem.addActionListener(this);     
              PagePanel = new Panel();
              PagePanel.setLayout(new GridBagLayout());
              GridBagConstraints c = new GridBagConstraints();
              c.anchor = GridBagConstraints.NORTH;
              c.gridwidth = 1;
              c.gridx = 0;
              c.gridy = GridBagConstraints.RELATIVE;
              c.weightx = 1;
              c.weighty = 1;
              c.insets = new Insets(0, 0, 0, 0);
              //PagePanel.add(TextArea1, c);
              //PagePanel.add(buttonPanel, c);
              setLayout(new GridBagLayout());
              add(PagePanel, c);
              PagePanel.setLocation(0, 100);
              //PagePanel.setSize(100, 100);
              setVisible(true);
         public void update(Graphics g)
              paint(g);
         public void paint (Graphics g)
              g.drawImage(logo, 0, 30, this);
              //g.drawString(About, 20,150);
              //setFont(new Font("Arial",Font.BOLD,12));
              g.drawString("About", 20,130);
              g.drawString("Tools", 70,130);
              g.drawString("Curriculum", 120,130);
              g.drawString("Resources", 200,130);
              //g.drawString("Test", 690,130);
              //g.drawString("This is a Test String", 20,130);
              g.drawString(line1, 50,175);
              g.drawString(line2, 20,200);
              g.drawString(line3, 20,225);
              g.drawRect(38,373,148,168);
              g.drawImage(nanocadhome, 40, 375, this);
              g.drawRect(248,373,148,168);
              g.drawImage(waltzhome, 250, 375, this);
              //System.out.println("Test is ending");
         public void imagePanel()
              logo = Toolkit.getDefaultToolkit().getImage("images/logo.jpg" );
              nanocadhome = Toolkit.getDefaultToolkit().getImage("images/nanocadhome.jpg" );
              waltzhome = Toolkit.getDefaultToolkit().getImage("images/waltzhome.jpg" );
         public void actionPerformed(ActionEvent e)
              String s = e.getActionCommand();
              String osCommand = "cmd /q /c start /w";
              if (e.getSource() instanceof MenuItem)
                   String menuLabel = ((MenuItem)e.getSource()).getLabel();
                   if(menuLabel.equals("Exit"))
                        dispose();
                        System.exit(0);
              if (e.getActionCommand().equals("OffWaltz"))
                   try
                        Runtime.getRuntime().exec("cmd.exe /c java -jar offwaltz.jar ");
                   catch (IOException ex)
                        System.out.println( ex.toString() );   
             if (e.getActionCommand().equals("Nanocad"))
              try
                        Runtime.getRuntime().exec("cmd.exe /c java -jar nanocad.jar ");
                   catch (IOException ex)
                        System.out.println( ex.toString() );   
         public static void main(String args[])
              chemviz frame = new chemviz();
              frame.addWindowListener(new WindowAdapter()
                   public void windowClosing(WindowEvent e)            
                        {               System.exit(0);        }});
                   frame.setSize(800, 600);
                   frame.imagePanel();
                   frame.loadPanel();
                   frame.setVisible(true);

  • Can we use If condition in so10?

    Hi Experts,
    I want to have different text descriptions for different release code in PR workflow
    can I dynamically change the task description keepin the task as same .
    can we put if condition in task description ?
    Thanks & Regards
    Dharmesh Sharma

    Use this syntax in Task Description it will work. If you are using Include Text and maintaining the condition in include text bring that text to Task Description.
    Syntax:
    /: IF &BUS2015.RelCode; = 'HD'
    Head of Department
    /: ENDIF
    /: IF &BUS2015.RelCode; = 'DR'
    Director
    /: ENDIF
    Regards,
    Ramu N.

  • Can we put Join Query with Expdp in Query Parameter

    Dear All
    Can we put join condition like
    A.roll_no=B.roll_no
    in query clause of EXPDP utility of Oracle 10g.
    My parameter file is
    INCLUDE=TABLE:"IN ('A','B')"
    QUERY ="where roll_no between 1 and 100 "
    then it works and export the data. But I want Above condition.
    But when I specify it gives ORA-39001 error.
    If possible, How and Can you specify example.
    Regards
    Nikhil

    Hello,
    Please check if OSS note 858458 is applicable in your case.
    Regards,
    Praveen

  • Put a condition on a form on table

    Can I put a condition on a form on table.
    I have master-detail form, but in the master I don't want to view all the row, I want to put a condition on this like where clause.......... Can I?
    Regards

    One more question.
    In master report (in master table) I have x_id column which is foreign key for a column in another table which has the another column I want to display instead of the x_id column,HOW?
    In "Query Definition"there is "Query Join Conditions" I put the condition ..... it didn't work,
    I changed the x_id attribute to change reference table and column but it didn't work too.
    What should I do?
    Regards.

  • Can we put condition for color in bex query designer

    hi all,
    can any one guide me how to put a condition for color settings in query designer
    for example:
    i have a key figure like ANSWERED%.in analyser it should display in red if  answered% exceeds 95%.
    please help me in this issue.
    regards
    Vamshi D Krishna.

    Hi,
    Use Exceptions while designing your Query.
    Please go through the link
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/21b4cd14cd06f4e10000000a422035/frameset.htm

  • Dear apple, I am really dissapointed with you. Around January 2013, my iPhone 4s 16GB White has hardware issues, which was the Wi-Fi grey out. The wifi grey out means that I can't access the wifi on/off button, and also it has no connection. I have put up

    Dear apple, I am really dissapointed with you. Around January 2013, my iPhone 4s 16GB White has hardware issues, which was the Wi-Fi grey out. The wifi grey out means that I can't access the wifi on/off button, and also it has no connection. I have put up with it for months, until june 7 when I decided it has been long enough, and I got a replacement. I told the genius bar what happened, and I already did the so called "steps" that apple reccommended on the site, which was reset network settings, restore iPhone. The genius bar gave me a replacement phone, so I was expecting that the problem would be over, but it isn't. It seems that it's iOS 6.1.3 which is the case of most public complaints on apple iPhone products. Not even 3 weeks after I got the phone replaced, it is doing it again, so I suspect I'm just going to get a replacement again? Unfortunately I only have until 5th of july 2013 until my 1 year warranty is up. After that, any issue I have, I have to purchase apple care. People are expecting this problem to be fixed but I don't see it being solved any time soon. This is horrible and really low, because I have been a good customer, when I talk to the people at the genius bar, I show the utmost respect I can to them for the work they put into their job, but somewhere there is a problem where something has gone wrong. Because of that, people that only have a one year warranty (which i received because I purchased my apple iPhone at an Optus outlet, once that one year warranty is up, I have to pay for a problem that isn't even my fault? That isn't how it should work, you should be fixing this problem so people can be happy customers and leave happy. Obviously you don't all know how to do your jobs, because if you did, we wouldn't have this problem. I would like a replacement phone, ONCE AGAIN. If this problem occurs again, I will simply stop buying your products, and lose faith in your company, your's sincerely, Jack Maher.

    This is a user to user help forum only. You are not addressing Apple here.
    My iPhone 4S, iPhone 5, and iPad 2 are running 6.1.3 with no such problem and the same with the overwhelming majority of iOS devices running 6.1.3.

  • On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

    On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?
    In my current Firefox, the "new tab" icon/item from the "customize" pop-up window menu of items is placed next to my home, back, forward buttons near the top-left of my header (Button 1 for "new tab"). Then, the tab bar automatically come with a small tab (with a + sign) to the right of your last tab opened (so you click on + and a new tab opens. Button 2 for "new tab"). I like to have this "new tab" button twice (as a + mini tab, and next to my "home icon".
    When I upgraded to Firefox 4, I seemed to be only able to "customize" or use the "new tab" in one place. Either as an icon next to home button, or as a "+ minitab", but NOT both.
    What can I do to put this button in Firefox 4 on BOTH places???
    Your help is really appreciated. I want to upgrade, but I want my buttons on both places...
    I upgraded to FF 4, but downgraded again just because this feature... that's just me of coarse :-)

    *New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar? Also would like to know if the toolbars can be put on the same line to make more room on the page (drag & drop) ??

    The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar?
    Also would like to know if the toolbar can be put on the same line to make more room on the page (drag & drop) ?? Like the menu & bookmarks toolbar could/should fit on same line. This would add more page view...
    Floyd Perry
    Thanks

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
    You can only move the content from a toolbar onto other toolbars if all toolbars support that feature. You need to check that in the options of each toolbar.

  • When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Can we put text and button together in the same cell of ALV?

    Can we put a button and text in a cell of ALV Grid?
    Requirement in detail:
    Material Description + button - when the button is clicked, it opens up a screen to enter text.
    I able to open the screen ob button click but..
    when  I concatenated the material description and an icon, it showing garbage in ALV output.

    Hi,
    I think it is possible..check this code..I believe this also depends on the GUI version..Mine is 6.40 patch level 32....in my output it is showing icon with the text in one column...
    TYPE-POOLS slis.
    INCLUDE <icon>.
    TYPES: BEGIN OF type_data,
             matnr TYPE matnr,
           END OF type_data.
    DATA: t_fcat TYPE slis_t_fieldcat_alv.
    DATA: s_fcat TYPE LINE OF slis_t_fieldcat_alv.
    DATA: t_data TYPE STANDARD TABLE OF type_data.
    DATA: s_data TYPE type_data.
    * Field catalog.
    s_fcat-fieldname = 'MATNR'.
    s_fcat-row_pos    = '1'.
    s_fcat-ref_tabname = 'MARA'.
    s_fcat-ref_fieldname = 'MATNR'.
    APPEND s_fcat TO t_fcat.
    CONCATENATE icon_negative 'test matnr' INTO s_data.
    APPEND s_data TO t_data.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
        it_fieldcat   = t_fcat
      TABLES
        t_outtab      = t_data
      EXCEPTIONS
        program_error = 1
        OTHERS        = 2.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Thanks
    Naren

Maybe you are looking for

  • Problem while invoking a web service within an XML native database

    Within the eXist dbms, I'm writing a module which implements several extensions to XPath. These extensions must invoke a remote web-service. I initially tested a standalone consumer, and everythink worked out successfully. Thus I created a jar, I use

  • Text graphics are not clean in Encore playback

    I have a project that is all text graphic from a PowerPoint and no matter how I put them into Encore, they don't play back clean. I have made PNG, PSD, JPG and I even redid all the text in Premier Pro. All the same results. I have done this many time

  • Export to pdf skews images

    Lately, whenever I use pages to export to a PDF file, the images are all the same image and they are often all skewed, scrunched or stretched.  The way for me to get around it is to print>save as PDF.  Also, the files are huge lately.  I can open the

  • Creative Inspire P7800

    Hello, I have a Creative Labs Inspire P7800 7.1 audio system. It is virtually new (used it twice). Somewhere over the years I lost the power adaptor for the subwoofer. Google doesn't return many results with the info I have. I am looking for a replac

  • When did Lumia 630 receive denim update

    Lumia 639 updates