How do I launch a URL based on a drop down selection?

I would like to launch a webpage based on an item selection from the user.   Scenario:  User selects a brand of shoes from a dropdown menu.  A webpage is opened for that brand of shoes.  I will have the dropdown list link
to a table containing shoe brands and urls.  I haven't found a way to script the launching of the url based on the user's selection.  Thank you for your help.

Hello,
I made you a little outline Siena App you can download on
https://skydrive.live.com/redir?resid=FF0485C313407260%215627 (source included)
Based on a dropdown, it filters a gallery with a "go there" button. That should allow you to get some small description, image or data before leaving your app for the site.
Please let me know if you can't download it. I assume that this is what you are looking for.
Regards
StonyArc

Similar Messages

  • How do i populate one field based upon a drop down select from another field?

    Here is what I am trying to do:
    Field 1 is a drop down selection list that requires a user to make a mandatory selection which in this case is a list of apartment complexes. What I am trying to accomplish is once that user makes a selection from the drop down list (Field1) that it will populate Field 2 (standard txt) with the corresponding apartment complexes address.
    So I pick Talan Apartments from field 1, it would populate field 2 with Talan Apartments address. I tried messing around with calculation scripts but I'm fighting a loosing battle here. Some help would be greatly appreciated!

    Hi,
    Here is a sample: https://acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A where the script in the exit event of the dropdown sets the value of the address object.
    Good luck,
    Niall

  • How to disable certain text fields in second tab based on the drop down selection from first tab?

    My first tab contains a drop down menu which has two options
    1. Personal info
    2. Office info
    The second tab contains all the information regarding Office and Personal Information. But I need to selectively disable certain fields based on the drop down in first tab.
    For example,
    The second tab consissts of all fields like
    Name,
    Age
    Job title,
    Office Location, etc.
    And i dont want office related details to be displayed if I am selecting personal info in the first tab.
    It would be really great if someone could send me the code for achieving this.
    Thanks in advance.

    Hi Vishnu
                  Can you check the List component in foundation/components ? I think "Build list using" works he same as your requirement. Check the listener they have used in dialog/items/list/items/ listFrom/listeners
    "selectionchanged"  : function(box,value){box.findParentByType('tabpanel').manageTabs(value);}
    here the ExtJs will find the tabpanel with value you are selecting fromdropdown. The title of each panel should match with the dropdown values
    Some queries
    Disable values means you have to remove it from your CRX?
    "values should become mandatory". for tab2? or tab3? - if tab2 and if it is a customized widget then u have to write it in your js only i think.
    Thanks
    Veena

  • How do I configure a dynamic table with Data-Drop Down selections to store separate values?

    I am attempting to use LiveCycle to create an Order Form that uses an ODBC to a SQL database. When a user makes a selection, a separate column in the table references the "Item #" associated in the SQL table, and generates a corresponding barcode.
    My problem is that when I select an Item from the drop down list, all the items in the table change. What am I missing here to separate the rows as different line items? I tried adding a [*] to the end of the connection string, and that allows me to select different options but does not generate the "Item #" or "Barcode" field.
    The screenshot below shows the basic form. When I select any of the data drop downs, all of the Items change.
    I used the auto generated script for the "Add Row +" button shown below. Is this my issue? Or do I need to alter the way I'm setting up the Data Binding in for my Data Drop Down?
    this.resolveNode('Table1._Row1').addInstance(1);
    if (xfa.host.version <8) {
      xfa.form.recalculate(1); }

    package pruebadedates;
    import java.sql.*;
    * @author J?s?
    public class ClaseDeDates {
        /** Creates a new instance of ClaseDeDates */
         * @param args the command line arguments
        public static void main(String[] args) {
            java.sql.Date aDate[] = null;       
            Connection con = null;
            Statement stmt = null;
            ResultSet rs = null;
            try{
                Class.forName("com.mysql.jdbc.Driver").newInstance();
                con = DriverManager.getConnection("jdbc:mysql://localhost/pruebafechas", "root", "picardias");
                    if(!con.isClosed()){
                    stmt = con.createStatement();
                    stmt.executeQuery ("SELECT dates FROM datestable");
                    rs = stmt.getResultSet();
                        while (rs.next())
                        aDate[] = rs.getDate("dates");
            catch(Exception e)
               System.out.println(e);
            //System.out.println(aDate);     
    }Hi, There is my code and the errors that I get are:
    found : java.sql.Date
    required: java.sql.Date[]
    aDate = rs.getDate("dates");
    Actually I have No idea as How to get a Result set into an ArrayList or Collection. Please tell me how to do this Dynamically. I have like 25 records in that Database table, but they will grow, so I would really appreciate to know the code to do this. I suspect my problem is in the bolded part of my code.
    Thank you very much Sir.

  • Different actions based on different drop down selection

    Hi,
    I am new to WebDynpro so still getting to used to the differences with what I am used to. My question is this:
    Is it possible to create a drop down list (by key) in a top view that allows the user to display one of three views in the bottom view? I know it is possible if I add a button, but I want it to look like one form so that the user is unaware of the difference. The "logical" way to me would be to have an action created for each option in the drop down list, but this does not seem possible. Any suggestions on how I could do this?
    Thanks,
    Helen

    As already explained by other posters, this is possible:
    Define an action with a parameter "selectedKey" of type string.
    Bind the DropDownByKey.onSelect event to this action.
    Map the event parameter "key" to the action parameter "selectedKey" by writing this line of code inside method wdDoModifyView():
    if (firstTime)
      IWDDropDownByKey dd = (IWDDropDownByKey) view.getElement("<ID of your drop-down>");
      dd.mappingOfOnSelect().addSourceMapping
        "key", /* event parameter name, see JavaDoc */
        "selectedKey" /* action parameter name */
    The effect of this mapping is that at runtime, the action handler parameter "selectedKey" contains the key that has been selected from the drop-down list.
    In the action handler, you can navigate to the view that corresponds to the selected key by calling the outbound-plug to this view. These firePlug* methods will be generated by the framework, if you have defined the corresponding navigation links in the view modeller.
    But: I would not use at all a drop-down list to switch views because this will not match most user's expectation. Links are more appropriate to indicate navigation to other views.
    Armin

  • How do I add "Save As" to the Pages drop down menu?

    How do I add "Save As" to the Pages drop down menu?

    It took me awhile but I found what I was looking for. This is posted at http://www.tuaw.com/2012/07/29/get-save-as-back-on-mountain-lions-file-menu-easi ly-and-without/
    Option 1. Terminal.app If you are comfortable using Terminal.app, you can add a different keyboard shortcut this with one simple line. First, quit all your apps except Finder and Terminal. Then paste this command (as one line) into Terminal.app (and press Return):
    1
    defaults write -globalDomain NSUserKeyEquivalents -dict-add 'Save As...' '@$S' 
    view rawdwrite-global-saveas.sh hosted with ❤ by GitHub
    That's it!
    Launch TextEdit and open the 'File' menu and you should see "Save As..." back in its rightful spot with its original Command + Shift + S shortcut, as shown in the image above.
    Aside: After you enter the 'defaults write' command, you will not see any confirmation that it was entered correctly. Terminal.app is a little terse sometimes. If you want to verify it from the command-line, enter this:
    defaults read -globalDomain NSUserKeyEquivalents
    and look for "Save As..." = "@$s"; in the output.
    Option 2. System Preferences.app If you would rather not use Terminal, it's still very easy to add the keyboard shortcut.
    Launch the System Preferences.app, then open the "Keyboard" preference pane.
    At the top you will see "Keyboard" and "Keyboard Shortcuts" – click "Keyboard Shortcuts" (labeled '1' below). Then in the list on the left side, click "Application Shortcuts" (labeled '2' below). Then click the "+" button (labeled '3' below):
    Once you press that "+" button, a small window will appear asking you to enter the title of the menu item and the keyboard shortcut that you want to use.
    Enter "Save As..." in the "Menu Title:" field, and then press the keyboard shortcut that you want to use. In the example below I pressed Command + Shift + S:
    Note: It used to be true that you had to enter an actual ellipsis (which you can get by pressing Option+ ; on a US-English keyboard). However, when I tested this in Mac OS X 10.8.2, it worked with three consecutive periods.
    Bonus Tip: Hide the "Duplicate" menu item.
    In my original article I suggested that you also enter a keyboard shortcut for "Duplicate" and while youcan do that if you wish, you do not need to do that.
    However, if you would like to hide the Duplicate menu item, you can do that. There are two steps: first, remap "Save As..." to Command + Shift + S (as shown above). Then the 'trick' is to remap "Duplicate" to Command + Shift + Option + S.
    What you will have done is swap the keyboard shortcuts for "Duplicate" and "Save As..." which means that OS X will make "Duplicate" the optional command. If you open the "File" menu and hold down "Option" the "Save As..." command will change to "Duplicate"
    (Thanks to TUAW reader 'rbascuas' for pointing this out in response to the original article!)
    Important Addendum: "Keep changes in original document"
    As we reported in August 2012, the "Save As..." command in early versions of 10.8 had an unexpected and likely unwanted side effect in Mountain Lion: it would save the changes in the new document (created by "Save As...") but would also save the changes to the original document.
    However, Apple realized that users might not want that behavior, so in Mac OS X 10.8.2 they added an option "Keep changes in original document" which you can see here:
    Option A: If you want to save the changes you've made in the document and then save the document with a different name, then make sure that the box is checked.
    Option B: If you want your original document to stay as it was when you last saved it and create a new document based on the modified content of that document, then make sure that box is not checked.
    If you do not see the 'Keep changes in original document' box, then the application is probablygoing to give you the "Option B" behavior, but if you are not sure, I would suggest choosing Cancel in the "Save" dialog, then copy and paste the contents of the document into a new file, and save the new file. I know that's several extra-and-less-convenient steps, but if you are worried about preserving the original document, better safe than sorry.
    You could also save the file, duplicate it in Finder, and rename the new instance. Open old file and revert to previous save using 'Versions'.
    Frankly,I wish that Apple had just left the "Save As..." command alone, but for some reason they didn't ask my opinion. That said, I'm glad that they brought it back in Mountain Lion. I would have paid $20 for that feature alone.
    Note: This article was re-written and republished on 2013–02–21. The original process still works, but I wanted to update it to reflect some additional information.

  • Performing Calculation based on drop down selection

    I need help with simple calculation. Im building an estimate form, and have the fields:
    "Total"  (manually entered total amount)
    "GrandTotal" (automatically calculates Total*1.07 to add 7% NJ sales tax)
    Next I have 3 drop down boxes with payment options, and then text fields to receive $$ amounts based on drop-down selection:
    "1st Payment Option" (options: 50% down, 100% paid in full, custom entry)
    "2nd Payment Option" (options: 50% at completion, 25% in 14 days, custom entry)
    "3rd payment Option" (options: 25% completion, custom entry)
    For whichever options are selected in the drop-downs, i'd like the text fields to auto-fill.
    (Text fields are titled "1st Payment", "2nd Payment", "Final Payment".
    So how do I take the value from "GrandTotal" and get it to automatically be calculated by 50%, 25% or whatever and be filled into separate text fields?

    It can be done with proper form design. You can use the any of the 3 calculation options but some may require some extra form fields and you can specify a numeric value to a drop down option that is different from the displayed text.

  • How to show "ALL" Values by default in Page Drop-Down Lists in Pivot Tables

    Hi Everyone,
    Iam stuck with 1 problem please can any 1 help me if u know the solution.
    Here is my problem:
    How to show "ALL" Values by default in Page Drop-Down Lists in Oracle BI Pivot Tables?
    For example, if you place Region in the pages area, a Region drop-down list allows the user to select a particular region, and see the data for only that region, rather than seeing all the Regions,But by default its not showing "ALL" option in the drop down list ,rather than doing that its showing result for only 1 region by default.
    And an other problem with this pages area is, if we palce the multiple attributes in the Pages area in the pivot table, the (Fields)result is showing in vertically, the attributes 1 by 1(Every attribute in a new line) ,rather than showing like that, is there any way to show the results in horizantally?(We want to have it as a seperate drop drown list for every field horizantally not as a concatenated list).

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • When trying to launch facetime on mac, a message drops down that says "unable to verify email because it is already in use by another Apple ID". The mac tech things it's an itunes problem. Anybody?

    when trying to launch facetime on mac, a message drops down that says "unable to verify email because it is already in use by another Apple ID". The mac tech things it's an itunes problem. Anybody?

    You need to select the "Manage My Account" link and not the "Reset Your Password" link.  Once you use the "Manage My Account" it will ask you to log in and in there you should see which email addresses are verified.
    Manage My Account Direct Link:  https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/31/wa/directToSignIn? wosid=UqdNjJEj36wU900BTj4Hw0&localang=en_US
    I'm thinking this may help as well.  http://www.cultofmac.com/100524/imessage-supports-multiple-addresses-and-selecta ble-caller-id/
    Which is what I'm trying to do with my iPad and iPhone.  

  • I have my Launch Vidoe ready and the "share" drop down is gray so no ability to send it anywhere.  what is this?  I went on to update the computer for other reasons, now Safari 6.0.2 asit interferred with downloads; and from OS X basic to Mtn Lion 10.8.2.

    I have my Launch Video ready and the "share" drop down is gray so no ability to send it anywhere.  What is this?  I went on to update the computer for other reasons, now Safari 6.0.2 asit interfered with downloads; and from OS X basic to Mtn Lion 10.8.2.  

    Make sure your Project has the focus. You cannot Share an Event.

  • How to display data in tableview based on a dropdown filter selection

    Hi All,
    I have implemented a flow logic based BSP page to display the SFLIGHTS table when I open this page it displays all records in the table SFLIGHTS. I would like the set a drop down box filter on CARRID and CONNIND. Only once the user selects the CARRID and CONNID and presses on display buttont the data for that selection in the drop down box should be displayed.
    Can you kindly share the code how I can put 2 drop down boxes and make the data retrieval on the page occur based on the dropdown box selection. The layout page is  as below. Appreciate if you could kindly share the code to implement this.
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page>
        <htmlb:form>
          <htmlb:tableView id              = "tv1"
                           visibleRowCount = "10"
                           selectionMode   = "lineEdit"
                           table           = "<%= flights %>"
                           filter = "SERVER"
                           sort = "server"
                           iterator        = "<%= iterator %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Thanks
    Karen

    Yeh Karen,
    What  i have written is that only.. ok fine i will tell you in detail ok...
    first what you do is if ur wrking with MVC concept in *do request * add the code for the dropdown as
    select single connid from sflights into wa_sflights.
    this code will give you the coniid  in the dropdown ok
    if you not wrking with MVC ,if its just a Flow with page login then write the same code in Oninitialization
    now if you select the connid from the dropdown and you want to display the details of the that connid in the tableview .. rite?
    then in do handle event write the code when i have written before  if itsnot MVC add in oninputProcessing
    DATA: HTMLB_EVENT TYPE REF TO CL_HTMLB_EVENT,
    W_ID TYPE STRING,
    W_VARIABLE TYPE STRING,
    tvdata TYPE REF TO CL_HTMLB_TABLEVIEW.
    IF HTMLB_EVENT IS NOT INITIAL.
    W_ID = HTMLB_EVENT->ID.
    IF W_ID EQ 'dd_project_name' . ------>this is the name of the dropdown
        DATA ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST = RUNTIME->SERVER->REQUEST
                             NAME = 'dropdownListBox'
                             ID = 'dd_project_name' ).
        IF DATA IS NOT INITIAL.
          W_variable = DATA->SELECTION.
        ENDIF.
    if w_variable is not initial.
    select * from sflights into table lt_flights where connid eq w_variable.
    endif.
    now in the view you should
    <htmlb:tableView id = "tv1"
    visibleRowCount = "10"
    selectionMode = "lineEdit"
    table = "<%= lt_flights %>"
    filter = "SERVER"
    sort = "server" />
    Hope it works fine

  • How to Generate a report based on a drop-down list?

    Good Afternoon,
    I am looking for a way to create a drop down list/select list with the values '2008' and '2009'. Based on the value selected in the list, data will be displayed from a table.
    In the table, there is January to December for 2008 and January to December of 2009. So when selecting '2008', I would like January to December 2008 to be displayed.
    Thank you.

    Hi,
    Create a static LOV with the following source:
    STATIC:2008,2009
    Assuming your LOV is named P1_LOV your report SQL would look something like:SELECT * FROM TABLE WHERE DATE LIKE '%' || :P1_LOV || '%'

  • How do I un-delete a website from the drop down menu?

    I deleted a website from the awesome bar before. Now I want that website to appear on the drop down menu again. I visit it almost everyday but I cannot see it on the awesome bar. How can I fix this?

    Hi thankyou,
    If it was removed it may no longer be listed, however if you have visited the site again I am guessing two things are happening if it does not show up:
    #The settings for your url bar have changed, check to make sure that history is checked in the Location bar settings about:preferences#privacy
    #[[Remove websites from the Awesome Bar suggestions]]
    Did this help?

  • Create a secondary calculation in a repeating subform based on a drop-down list?

    Hi all,
    I need a crazy bit of scripting. Not sure it's even possible.
              What I have:
    repeating subform SummarySub with dollar amountcalculation field at end of form TotalOver gives total dollar amount from all iterations of SummarySub
    so far, so simple. but then:
    I need another, repeating subform SubRow at the end of the form to give another total:
    based on Payer Name drop-down list in SummarySub
    and break out totals from all iterations of SummarySub based on payer names as chosen by the user.
    Ideally, the subform (B) (Payer Totals) at the end of the form would add instances as the user exits the Payer Name field. I haven't been able to figure out how to do that and keep the value in the (Payer Name) field of the added instance.
    Does any of this make sense?
    I'll appreciate any help.  I'm trying to learn more about JavaScript in LC, but my deadlines just keep coming....
    Many thanks
    Laura
    Dropbox - AFBS_OverpaymentReport_121914.pdf

    Hi Laura,
    You are right with the need for the nested for loop, If add this code to the calculation event.
        var nTotalRemitted = 0;
        var oAmountsRemitted = item.resolveNodes("SubRowtwo[*]");
        var nRemittedLength = item._SubRowtwo.count;
        for (nRemittedCount = 0; nRemittedCount < nRemittedLength; nRemittedCount++)
            var oRemittedItem = oAmountsRemitted.item(nRemittedCount);
            var nAmountRemitted = parseFloat(oRemittedItem.AmountRemitted.rawValue);
            if (!isNaN(nAmountRemitted))
                nTotalRemitted += parseFloat(oRemittedItem.AmountRemitted.rawValue);
    see the sample https://sites.google.com/site/livecycledesignercookbooks/home/AFBS_PTM_bruce%20script_TEST .pdf?attredirects=0&d=1
    There are some comments in the sample explaining some of the code
    Regards
    Bruce

  • How can i redirect 5 choice options from a drop down list into 5 separate text fields?

    I have a number of drop down lists which push one of 5 choices to a text field on another page.
    I want to be able to push each choice from one drop down field to a separate field, so that it is not possible to duplicate the drop down choice.
    The resulting page is going to be locked.
    What script do I need to use to send each of the five choices specifically to five separate text fields?
    Thanks for the insight.

    Hi Paul,
    I've had a look at the sample script you posted. I'm not sure how to make it work with the form I'm creating. (I sent it to you earlier.) Would you mind setting one of the fields up on my form so that I can get an idea of how to then push the choices set up on the "visible on screen only" to the textfields which are locked on the visible page? Do i lock the fields in the same way?
    Will I need to create a new script for each of the arrays I'll be creating? for example, myScript1, myScript2, my Script3....
    Why do i need a reset button?
    Nellie

Maybe you are looking for