Switch between two intelligent forms with a single button?

Hello!  I work at 8 Captivate and try to use a single button to switch between two smartshapes.  I can't for the life of me figure out how to do it.  I know its possible to make it 'show' and 'hide', but is it possible to simply create a user click on a button and whenever we click on it, it comes and goes between two different smartshapes?

Im trying to show the user the functionality on a piece of equipment when they press a button.  When they push the button, it comes and goes between two different read out on the screen.

Thanks in advance!

Have you looked at the blog post that I posted a link: I offer 4 scenarios.

It can also easily be done, if you have a separate (shape) button to switch between two different objects:

  1. Create a user with a default value of 0 v_visib variable
  2. Create two objects and one of them is visible, the other invisible output ("eye" in the Properties Panel icon); I've tagged the ShapeOne and ShapeTwo, where ShapeOne is visible at the beginning
  3. Create this advanced conditional action (you can also turn it into a shared action):

IF v_visib equals 0
Hide ShapeOne
See the ShapeTwo
Toggle v_visib
ON THE OTHER

Hide ShapeTwo

See the ShapeOne

Toggle v_visib

4 assign this action to the success of the button event

Tags: Adobe Captivate

Similar Questions

  • Removal of MSQL 2 tables with a single button

    As I was able to add data from two tables mysql with a single button, I guess I should be able to delete the two entries in a similar way, but I can't seem to get there. The code is written in large part by DW and I have only the level minimum idea of the meaning of the php, so please be patient in no explanation as to where I'm wrong!
    At the present time, to the chk_sixmonth of the table entry is removed, but at table cel_contents incorrect records are deleted.
    The corresponding code is, I think;
    If ((isset($_POST['ck_pk'])) & & ($_POST ['ck_pk']! = "") & & (isset($_POST['gone']))) {}
    $deleteSQL = sprintf ("DELETE FROM chk_sixmonth WHERE ck_pk is %s",
    GetSQLValueString ($_POST ['ck_pk'], "int"));

    @mysql_select_db ($database_tormented3, $tormented3);
    $Result1 = mysql_query ($deleteSQL, $tormented3) or die (mysql_error ());

    $deleteGoTo = "chk_insert.php";
    If (isset {}
    $deleteGoTo. = (strpos ($deleteGoTo, '?'))? « & » : « ? » ;
    $deleteGoTo. = $_SERVER ['QUERY_STRING'];
    }
    header (sprintf ("location: %s", $deleteGoTo));
    }

    If ((isset($_POST['cel_pk'])) & & ($_POST ['cel_pk']! = "") & & (isset($_POST['gone']))) {}
    $deleteSQL = sprintf ("DELETE FROM cel_contents WHERE cel_pk is %s",
    GetSQLValueString ($_POST ['cel_pk'], "int"));

    @mysql_select_db ($database_tormented3, $tormented3);
    $Result1 = mysql_query ($deleteSQL, $tormented3) or die (mysql_error ());

    $deleteGoTo = "chk_insert.php";
    If (isset {}
    $deleteGoTo. = (strpos ($deleteGoTo, '?'))? « & » : « ? » ;
    $deleteGoTo. = $_SERVER ['QUERY_STRING'];
    }
    header (sprintf ("location: %s", $deleteGoTo));
    }

    $colname_rstSix = "1";
    If (isset($_GET['scrap'])) {}
    $colname_rstSix = (get_magic_quotes_gpc())? $_GET ["scrap"]: addslashes($_GET['scrap']);
    }
    @mysql_select_db ($database_tormented3, $tormented3);
    $query_rstSix = sprintf ("SELECT * FROM chk_sixmonth WHERE ck_pk = %s", $colname_rstSix);
    $rstSix = mysql_query ($query_rstSix, $tormented3) or die (mysql_error ());
    $row_rstSix = mysql_fetch_assoc ($rstSix);
    $totalRows_rstSix = mysql_num_rows ($rstSix);

    $colname_rstCont = "1";
    If (isset($_GET['scrap2'])) {}
    $colname_rstCont = (get_magic_quotes_gpc())? $_GET ['scrap2']: addslashes($_GET['scrap2']);
    }
    @mysql_select_db ($database_tormented3, $tormented3);
    $query_rstCont = sprintf ("SELECT * FROM cel_contents WHERE cel_pk = %s", $colname_rstCont);
    $rstCont = mysql_query ($query_rstCont, $tormented3) or die (mysql_error ());
    $row_rstCont = mysql_fetch_assoc ($rstCont);
    $totalRows_rstCont = mysql_num_rows ($rstCont);
    ? >
    <! DOCTYPE etc...

    < form action = "" method = "post" name = "scrap" id = "scrap" > "
    < input name = "gone" type = "checkbox" id = "gone" value = "gone" / >
    < input type = "submit" name = "Submit" value = "Remove" / >

    < input name = "ck_pk" type = "hidden" id = "ck_pk" value = "<?" PHP echo $row_rstSix ["ck_pk"];? ">" / >
    < input name = "cel_pk" type = "hidden" id = "cel_pk" value = "<?" PHP echo $row_rstCont ["cel_pk"];? ">" / >
    < / make >
    Thanks for any help

    Problem has now well sorted.

  • can perform us two actions with a single button in two clicks, one after the other?

    Mr President.

    can perform us two actions with a single button in two clicks, one after the other?

    I want that when I click on the button Add once it add data to the database and when I click again on this button it clears the form data to the empty fields.

    Concerning

    Tanvir

    In the code, it should be easy.

    The following code adds that a button called butman with text 'ADD '.
    It then registers a listener that will be called if the user clicks the button.

    This listener then calls the runAddData method if you clicked butman while it contained the text of "ADD" and it calls the runClearData method otherwise.
    That's why he will swap the functionality of the button between ADD and CLEAR on each click.

    final Button butman = new Button("ADD");
    butman.setOnAction(new EventHandler() {
              @Override
              public void handle(ActionEvent t) {
                        if (butman.getText().equals("ADD")) {
                                  butman.setText("CLEAR");
                                  runAddData();
                        } else {
                                  butman.setText("ADD");
                                  runClearData();
                        } // END IF-THEN
              }});
    

    I hope that's what you wanted.

    Further reflection.
    You might want to run the ADD and CLEAR methods in their own son so that it can run in the background without slowing down your user interface.

    I also reuse rather a single button for several features instead of to apply with hundreds of nodes used only rarely with masses of code to show and hide as needed.

  • How to switch between two keyboards (Japanese keyboards have the double function of "direct entry"

    I have a laptop with keys 'English' and 'Japanese' on the same key board.  For example "A" key is also 'CHI' in Japanese, 'B' is also "KO" in Japanese.  How to switch between the two.  It changes itself.  This seems to happen after the mail in Hotmail changed in Outlook.

    Thank you

    Tomoko

    Hello

    Please go to the Microsoft Community Forums.

    From the description of the question, we understand that you want to switch between two keyboards entries.

    Let me go ahead and help you with the issue.

    Here are some steps you can follow to resolve the problem:

    Step 1:

    To change the default language, follow these steps:

    a. Click Start and then click Control Panel.
    b. double-click regional and Language Options.
    c. click on the languages tab, click details and then click Add.
    d. under input language, add the language that you want to use.
    e. under Configuration keyboard/IME, click the keyboard layout that you want, and then click OK.
    Note: Only users who have permissions on the local computer can configure the following options on the languages tab in the regional and Language Options.

    Step 2:

    To resolve this problem, change the hot key settings in your computer system. To do this, follow these steps:

    a. right click on the language bar and then click settings.
    b. in the Text Services and input languages window, click the Advanced Settings button select an action and then click Change Key Sequence.
    c. set keys and then save the settings.

    Hope that answers your query. You can write back to us for other queries/problems related to windows and we will be happy to help you further.

  • Switching between screens in forms

    Hello

    I had 2 questions while trying to check the usefulness of the forms for our company.

    It is possible to switch between quite different forms based on selctions made, therefore, for example by completing a form, press on accept and move on to the next shape?

    Also is it possible to have images as buttons, for example an image of a thumb in the air that serves as the button accept?

    With the help of Adobe Acrobat Professional 8

    Thanks for the help

    A button can certainly be set up to open a document. If you need to programmatically specify which document to open, you can open the document by using the JavaScript app.openDoc method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.159.html

    You can use what you want as an icon of the button, thumb up image would be no problem. When you configure a button, set the layout to something else than 'Label only' and select the image you want after clicking on the button "select".

  • a homepage where I can switch between two languages?

    How can I create a home page where I give the user the ability to switch between two languages?
    I what to have differences in the corner flags, so when you press a flag he switch to another language.

    Hi Jan,

    You can create different pages for different languages. You can place the flag on the homepage and a link to the page language of your choice.

    Kind regards

    Aish

  • Two actions with a single button Oracle adf

    Hello
    Dear all,
    I want two action with a single button. Before posting, I studied this thread, but it seems that it cannot solve my problem two actions with a single button?
    It's my button and its action http://4.bp.blogspot.com/-tpP5wIW8JLI/T66zhLZgG0I/AAAAAAAAAPY/F1A-Ka8KGPY/s1600/req1.JPG
    getReqID button is actually a call to a procedure that returns a value to his class of action. The cb1_action function is...
    public String cb1_action() {}
    BindingContainer links = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("getReqID");
    Object result = operationBinding.execute ();
    int id = Integer.parseInt (result.toString ());
    System.out.println ("result =" + id);
    If (! operationBinding.getErrors () .isEmpty ()) {}
    Returns a null value.
    }
    Returns a null value.
    }
    It works very well. Don't know I want to, click this button, it also opens a page of .jsff. but I'm unable to open this page.
    Help, please
    Thank you
    Muhammad Nasir

    The first image you provided shows a small 'Attention' sign on the "request for quote-global-TF" which, I guess, gives you the sentence.
    This warning tells you that there is a problem with the task flow that you imported from the pot. Move the mouse over the warning sign a see what message you get from the frame on the error. If you don't get one, in 'source' view and look for red or orange squares in the gutter of the right hand. Scroll to the position of the red square and move the mouse over the underlined part red or orange of the code.

    Timo

  • using two instructions updated under a single button

    Hello
    I want to know if we can use two instructions update under a single button (when the button is pressed the shutter);

    in fact, the thing is when I press the button BOOK...

    the first statement updates the TRANSIT value with the sum of reserved posts to...

    the second update statement will deduct the value of the items available...

    ex:
    Sum of reserved point: 4
    Available: 14

    First update:
    Public transport: 4

    Second update:
    Avaiable: 14-5 = 10

    Suhail Faraaz says:
    Hello
    I want to know if we can use two instructions update under a single button (when the button is pressed the shutter);

    in fact, the thing is when I press the button BOOK...

    the first statement updates the TRANSIT value with the sum of reserved posts to...

    the second update statement will deduct the value of the items available...

    ex:
    Sum of reserved point: 4
    Available: 14

    First update:
    Public transport: 4

    Second update:
    Avaiable: 14-5 = 10

    Hello

    You can have two and also more updates of the statements under a single button, there is no problem, just check the condition for the update and corresponding to the value in the display :)

  • VPN site-to-site between two PIX 501 with Client VPN access

    Site A and site B are connected with VPN Site to Site between two PIX 501.

    Also, site A is configured for remote access VPN client. If a remote client connects to Site A, it can only get access to the LAN of Site A, it cannot access anything whatsoever behind PIX on Site B.

    How is that possible for a VPN client connected to Site A to Site B?

    Thank you very much.

    Alex

    Bad and worse news:

    Bad: Not running the 7.0 series PIX cannot route traffic on the same interface, the traffic is recived. Version 7.0 solves this ipsec traffic.

    Even worse: PIX 501 can not be upgraded to 7.0...

    A couple of things to think about would be the upgrade to hardware that can run the new IOS or allowing a VPN R.A. on site B.

    HTH Please assess whether this is the case.

    Thank you

  • Two Select lists with Submit single page branching to different page each?

    Hi all

    I have a page (No. 1) with two 'select list with Submit"(A and B). This page contains also two branches defined. I want to realize that the first list selection with present (A) would always use the first branching (at page n ° 2) and the select list a second with the submit (B) would use the second fork (at page no. 3).

    How can I achieve this? Y at - it a tutorial describing lists of selection and the ramifications?

    Thank you for your time.

    Daniel

    When the selection list submits the page, the value of "motion" is the name of the selection list item. So all you need to do is add a condition to each Directorate-General: Request = Expression 1 and enter the name of the element (top) in the field of 1 the condition Expression.

    Scott

  • 2 or more forms with "1 submit" button (Business Catalyst Forms)

    I am very new to Ajax and Java

    So I'll need a bit of hand holding on it.

    If it's too much to explain in a post on the forum, I'd be willing to pay someone to set up properly and to explain so that I can repeat on my own $50.

    But here's what I'm trying to do.

    Presentation of multiple forms with single submit button.

    I need to create many many forms, so rather than repeat the basics (details and company info)

    I would just be able to manufacture PARTS of form and then build forms much faster this way.

    The forms I created are for various applications.

    I use the personal and professional contacts as the first 2 examples, but I'm going ELSEWHERE, I also understand according to the form.

    So just keep in mind these are examples.

    The point is that each PARTY is a separate form.

    The reason clear to achieve is to save time, many similar applications that I need to do the construction.

    Example 1

    Form of home insurance

    SECTION A - personal information

    PART H - home (s) address

    PART F - personal fire and alarm information

    PART C - the previous insurance issues and cancellation insurance

    ----------------

    submit button: supports all 4 forms above

    Example 2

    The company insurance form

    SECTION A - personal information

    PART B – business contact information

    PART D - commercial address information (what to do if several addresses?)

    PART E - business and information fire alarm

    PART C - the previous insurance issues and cancellation insurance

    --------------------

    submit button: submit all 5 forms above

    So ideally, I would need the following requirements.

    1. present the single button

    2. present the code can handle 2 or more parts not the value # specific

    3. I would prefer if it was automated code (so I don't have to change the code every time, I can simply add the parts - and also long ID # or named it will work correctly)

    4. If there is a problem with any PART stop the entire form

    5-

    A question, I had barely know is how "combine" forms a single entity so that they can change it later if necessary?

    * as turn a case, or to award to each PARTY a hidden form variable link #.

    * This is probably best handled with a webapp, Yes?

    Thanks in advance for any help.

    It's all a bit above my level of understanding of right at this moment. So, if anyone can offer help or services.

    Please let me know. I have to get rolling on this ASAP.

    * main problems I have with BC forms:

    I did a lot of work with them recently, so I get a kick of the foibles, but there is always a ton of issues and roadblocks that I meet that requires a workaround solution.

    I wish I knew how to make dynamic British Colombia forms, because the BC is not a data source for multiple selection option, we must create a webapp connection to combine everything.

    Unless there is another way to combine multiple forms, I guess that's what about this discussion/issue together.

    So thank you once again.

    Are you ok with BC being unable to report on the data of the form? Rather than having the fields map to a client-server, you could serialize the form data (in JSON format, perhaps) and submit the entire form in a single field in a form BC, or an element of the Webapp.

    This would allow the form fields to be as dynamic as you can imagine. you will be not restricted to use only the form fields that have been declared in the admin.

    You have to take care around the diagram, because BC does not have an influence or support for that. It also means that when you want to display the data, you will need to go through your own deserializer. In addition, there are length limits to keep in mind.

  • a simple form with the "submit" button: can it look better?

    Hi all

    I did not imagine that a simple form (with Textfields and ChoiceFields) could do a lot of problems:

    I would like to ask a few basic questions about it. First the code (Simplified):

       GridFieldManager formfm;    
    
            EditField surname = new EditField("", "-", 25, Field.FIELD_LEFT | Field.FIELD_VCENTER | EditField.FILTER_DEFAULT);
        EditField email = new EditField("", "-", 25, Field.FIELD_LEFT | Field.FIELD_VCENTER | EditField.FILTER_EMAIL);
    
        public FormFieldManager(){
    
            formfm = new GridFieldManager(2,0);
    
            formfm.add(new LabelField("who: ", Field.FIELD_RIGHT | Field.FIELD_VCENTER));
            String[] choicewho = new String[] { "Mr", "Mrs", "Miss" };
            ObjectChoiceField who = new ObjectChoiceField("", choicewho, 0, Field.FIELD_LEFT |Field.FIELD_VCENTER);
    
            formfm.add(who);
    
        formfm.add(new LabelField("Surname :", Field.FIELD_RIGHT | Field.FIELD_VCENTER));
        formfm.add(surname);
    
        formfm.add(new LabelField("E-Mail :", Field.FIELD_RIGHT | Field.FIELD_VCENTER));
        formfm.add(email);
    
        ButtonField sendButton = new ButtonField("Send", Field.FIELD_HCENTER|ButtonField.CONSUME_CLICK);
        formfm.add(sendButton);
        FieldChangeListener listenerSendButton = new FieldChangeListener() {
        public void fieldChanged(Field field, int context) {
    
        try {
            String data = "send=true&surname=" +surname.getText();
            data += "&email=" + email.getText();      httpPost("http://bla/sendData.php", data);
        } catch (IOException e1) {
            e1.printStackTrace();
        }
        formfm.deleteAll();
        formfm.add(new LabelField("Grazie!"));
        }
      };
      sendButton.setChangeListener(listenerSendButton);
    

    now my questions:

    (1) don't miss something (style) for the EditFields? At the present time, it is possible to change them, but the behavior (9700 Simulator) is strange: it is 'difficult' to get from one field to the other and everything moves sometimes when editing...

    How do you define a standard form that seems 'normal' and can be completed as expected in other applications? (Swifts nothing, it is possible to access the next field with the expected key / trackpad (I have no touch screen)) and so on?

    The EditFields do not even have a border, but I guess that's the standard case on BlackBerry.

    (2) the ObjectChoiceField is also very ugly... It's too big... Is it not possible to reduce the size without much effort? (I couldn't everride it correctly). (I also tried with radio buttons, but unfortunately I can't add a RadioButtonGroup to my LayoutManager, strange)

    (3) it is perhaps a stupid question: I can't get the text selected from the ObjectChoiceField (to send it can in data).

    AM EditField, it's simple:

    editfield.getText()
    

    But how is it with my ChoiceField?

    I found getSelectedIndex() but it provides a value int not text...

    Thanks in advance for any suggestions!

    silizia

    1. you have defined fields as follows:

    EditField family name = new EditField ("vorname:", "-", 20, EditField.FILTER_DEFAULT);

    The 20 means 20 characters, so it's all the field allows you to enter.

    2. Yes, the mail filter is pretty useless.  Use the EmailAddressEditField instead

    3. you can play with the scroll, but the best thing to do is to set the focus on the first field that you want people to pull together - usually the upper part of the form.

  • Captivate 8 - create form with the actions buttons

    Hi all

    I have 8 Captivate and some questions:

    1 when you create a shape with the polygon and then add text, the text is at the top of the element and the positioning of text in properties selections are missing.  It takes away the ability to create your own form with text and the use of these buttons.  Anyone know if it's just a mistake of programmers or someone has chosen to not add it?  Workaround solutions?

    1. converting polygon to no button, no equity in the properties selection.  another error?

    2 created the button from the selections of form 8, Captivate, still no equity in the properties selection.

    What is the point of a button that cannot perform an action?  Any workaround?

    Thanks for any help

    Using Captivate 8.0.0.145

    My apologies if the screenshots different because I'm in Expert mode and you may be in mode starting. Screenshots of one of my custom shape buttons here. He used a style custom with 3 States that I created at the OSM.

    Positioning of text:

    Button shape: visible only when you check the box 'Use as button' Actions

  • How to get out of edit mode tex with a single button?

    Hey,.

    Is there a way to escape from the editing of text with a single click or a button?

    Until now I always press CTRL + ENTER, then V and then I click outside the canvas so that the subsection is not highlighted. But it's a pain in the butt! Cant it be a single button for this?

    Thaks

    AO

    Something interesting, I just noticed: double click outside a text box can have different effects depending on the context.

    • With the selected pointer tool, double click on a text box allows you to edit the text. In this "quick editing" mode, double click outside the text box to go back to the pointer tool.
    • If the text tool has been manually selected, double click outside a text box will create a new text box.
  • Read multiple audio files with a single button - Playlist

    Hello

    im working on an interactive project that require the playlist function,

    The idea is to have a single button on a page that will play all the audio files on the page in the order they

    as you play a complete album in itunes or other players, when the first ending song the following begin to play and so on.

    Any ideas?

    Thank you

    Guy

    (1) put all the audio files in the Indesign document.

    (2) create a button,

    3) go to the Control Panel button and add multiple actions for 'Her', and for what actions define the audio file name

    Now go to the Panel of Timing and to organize the sequence of the audio file to read, just as the Panel layer, (drag / drop)

    Check the output.

Maybe you are looking for