Making multiple selections in drop down lists

How do I configure drop down lists to allow for multiple selections?

Hi,
I am wondering how to best design the list box to allow for multiple selection? I have 4 items i need to have in the box but how do i best communicate it to the end user that they can select more than one or need to select more than one option and how they do that?
Thanks.

Similar Messages

  • Multiple selection from drop down : NWDS7.0 SPS18

    Hi Team,
    How can achieve multiple selection from drop down? I am working on NWDS7.0 SPS18. I have known the concept of item list box... is that's the only option?.
    Is it possible to make it as filter option that we have in our Microsoft excel.
    Customer wants select either/all options @once from drop down.
    TIA,
    Vanita K

    Hi,
    Create a node with cardinality 0-n and selection property set to 0-n
    Create a table UI element and bind this node as a datasource to this table.
    Set the selection mode  property of this table as auto or multi
    Once this is done, populate the node with some data elements.
    When you run the application, you will be able to select multiple rows from the table.
    To get the selected rows, use below code on the action of some button
         wdComponentAPI.getMessageManager().reportSuccess("Selected rows are");
         int n = wdContext.nodeEmployeeData().size();//size of node binded with table
         int leadSelected = wdContext.nodeEmployeeData().getLeadSelection();
         for (int i = n - 1; i >= 0; --i)
              if (wdContext.nodeEmployeeData().isMultiSelected(i) || leadSelected == i )
                   IEmployeeDataElement employeeDataElement = wdContext.nodeEmployeeData().getEmployeeDataElementAt(i);
                   wdComponentAPI.getMessageManager().reportSuccess("ID: "+employeeDataElement.getID()+"Name: "+employeeDataElement.getName());
    For adding sorting and filtering functionality to the table follow the article
    [WDJ - A Generic Java Class for Filtering Web Dynpro Tables|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f]
    Regards,
    Amol

  • Multiple Selection in Drop Dowm List

    Hi
    I'm developing an application in VC 7.0.I have drop-down lists as input fields in my screens. Is it possible to do multiple selection in the drop down list?..Can i make the user select more than one input from the drop down list?.. should i do this through code or is there any option in the property of UI element?.. Kindly give me your suggestions!!
    Thanks in advance,
    Kavitha.

    Hey guys,
    There's multiple ways to do this.
    1. Use Listbox Element from Visual Composer - This can be done by writing formulas and concatenating multiple entries into a single submit from the listbox. To do this you have to use <Row> tags in your formulas
    (ie) I
    IF(@SIGNIFICANCE==’ALL’,’0KEY”/><Row SIG=”0STD’,@SIGNIFICANCE)
    This will create multiple rows to pass multiple values over from a listbox. I'll publish a how-to guide on this when I have time to write out the details with screenshots.
    2. The other option is use the listbox from web application designer within VC. I already wrote a guide on this:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a40f2f7-0c01-0010-d69f-c6317c5165cd
    There is a section in here on listbox.

  • Web UI - Value not getting selected from drop down list  .

    Hi  All ,
        I am facing a problem in one of the fields which is enhanced with a drop down functionality .
      I have created the GET_V_** method and also the GET_P_**  method for the same .And finally I am able to see the values in the drop down list . But the problem is , when I am trying to select a value from the drop down no values are selected .
    Can anyone plese help me in this as What has to be  done .
    I have taken references from few guides but I am not getting any clear idea of what has to be done .
    Regards,
    Ranjita

    Hi Ranjita,
                     To trigger a round trip, you must have given the event name in GET_P method.
    Same event handler would trigger.
      Please put a break point in Event Handler in IMPL class, and in SET_attr method of the attribute in CN class and see if value is getting set properly or not. Final value that would be displayed on UI would be there in GET_attr method of CN class.
      I hope it helps.
    Thanks,
    Rohit

  • How can I select from drop-down list and jumping to selected subform?

    I using LC Designer ES2 vers 9. Developing XDP. How can I Select from a drop-down list the appropriate selected subform (jumping to the selected subform on the page)?
    drop-down list...A (jump to subform1)
                             B (jump to subform2)
                             C (jump to subform3)
    subform1
    subform2
    subform3
    ....end of form

    Hi,
    you cannot set focus on a subform but on a field, as only interactive objects can be focussed.
    From a dropdowns exit event the script will look this way:
    switch (this.rawValue) {
              case "A" : xfa.host.setFocus("form1.page2.field1"); break;
              case "B" : xfa.host.setFocus("form1.page2.field1"); break;

  • Prevent Identical Selection in Drop Down List in an Expanding Table

    Hi All,
    I have a 2x2 table in which the top row is a header row and the bottom row 'Row1'. Row1 Cell1 has two buttons in it, one to add a new Row1 using Javascript click instance script:
    this.parent.parent.instanceManager.addInstance()
    ...and one to remove any Row1 using Javascript click instance script:
    var rowNum = this.parent.parent.index;
    this.parent.parent.instanceManager.removeInstance(rowNum);
    Row1 Cell2 contains a datadropdown object.  Basically, when a user adds an extra Row1, I need to prevent them from selecting a previously selected item from the dropdowndata list.  I'm having trouble figuring it out because I'm trying to put together exit instance script (or should it be validate script?) that is trying to reference Row1[*].  In simpler situations where I have two fixed objects, I have just been doing this as a FormCalc exit script:
    if (Object1 = Object2)
    then xfa.host.messageBox("You can't select the same thing again")
    and xfa.host.resetData("Object1")
    endif
    ... which prevents the user from selecting something with the same rawvalue by alerting them, then clearing the field. 
    Hope this makes sense and that someone can help!  Thanks in advance to all the adobe gurus out there

    Hi,
    Would it be possible to filter out the choices in the drop down list that have already been selected.  If so you could try something like this JavaScript in the preOpen event of your drop down.
    var dropDownItems = [ "abc", "def", "hij" ];
    var rows = Table1.resolveNodes("Row1[*]");
    for (var i = 0; i < rows.length; i++)
        var row = rows.item(i);
        if (!row.DropDownList1.isNull)
            dropDownItems = dropDownItems.filter(function(element) { return element !== row.DropDownList1.rawValue});
    this.setItems(dropDownItems.join(","));
    The first line initialises a variable with all the possible values and then we go though each row filtering out the ones already selected. 
    You will probably have to change the form object names to suit you form, but here is my sample to test the code, https://files.acrobat.com/preview/eb0256dc-af30-4f7c-9187-469ba84464a4
    Regards
    Bruce

  • Displaying user selection from drop down list in static text on master page

    Hello,
    I am using LC 7.0 at workk and I have hit a road block.
    I have a drop down list at the top of the form. Once the user makes a selection, I want to take that value and paste it in static text located on the master page. I can't seem to get it to work.
    Please help!!!

    Hi,
    Place the Drop Down list on form
    Place text object(s) on master page
    here is the script to display the value and/or text of drop down
    Script will be on Drop Down list events
    Calculate event to display value of DD - FormCalc
    form1.pageSet.Page1.StaticText1.rawValue = this.rawValue;
    Change event to display Text of DD - JavaScript
    form1.pageSet.Page1.StaticText2.rawValue = xfa.event.newText;
    SAVE the form as dynamic pdf.
    Hope this will help.
    Thanks,
    Raghu.

  • Not able to select in drop down list

    We have an on line database for our school. I can move around in it fine but when I try to select an item from a drop down list nothing happens.
    Any thoughts?

    There are a couple things you can try:
    1. Go to Settings > Safari > Advanced > Debug Console and turn it ON.  Return to Safari and reload the web page.  Tap the Debug Console banner to see any issues when loading the web site.  Then try tapping the drop-down list (select element).  Do any new issues appear in the Debug Console?
    Don't be alarmed if there are a lot of items listed in the Debug Console.  Most of the time they're harmless.  You're looking for a JavaScript error message (as opposed to CSS or HTML) that might give a clue as to why the page doesn't work.  Is there is a JavaScript message that corresponds to the broken drop-down list?
    2. Launch OS X Safari.  Open Preferences (Cmd-,).  Click on Advanced tab.  Check the "Show Develop menu in menu bar" checkbox.  Open a new browser window (using Cmd-N).  With the new browser window focused, select Develop > User Agent > Safari iOS 5.0.1 – iPad.  (You can check that the setting is correct by loading http://www.whatsmyuseragent.com/ and comparing it to the real iPad.)  Then navigate to the same page with the inactive drop-down list.  Does the same issue occur as on the iPad, or does the drop-down work?

  • Importing multiple values to drop-down list

    Hello is it possible to past or import multi values to a drop-down menu when creating a form?

    Here's a simple demo that demonstrates populating a dropdown with items pasted in a text field: https://workspaces.acrobat.com/?d=sIJoabh12oYOY19AuTZ9yw
    You are meant to copy & paste the resulting dropdown so it can be used in different form.

  • How can i set the values to text box by selecting from drop down list.

    hi ,
    i am using struts and jsps. i have a dropdown list of names(getting the values of names from database), i want to get address and phone number of that selected one.how can i get that?

    Hi swarupa,
    Well My advice in this senario wud Be
    Either U can make Use of XmlHttp Object through javascript(AJAX way).
    Or U need to Maintain the State of the entire form and then refresh the page to get those results....
    just for U r reference i am attaching a link which was programmed using ASP @ server side and which made use of XmlHttp Object.....
    http://www.w3schools.com/ajax/ajax_database.asp
    Just try to simulate the samething in your own way....
    REGARDS,
    RAHUL

  • Making a self populating drop down list in a servlet

    Dear all,
    I'm trying to make a self-populating list in my servlet. I've seen lots of ways to do it in php and asp and jsp, but i really want to make it work within my current architecture.
    So in my DAO class I have added this method:
    public ResultSet get_Artist_Names_Only()
    try
    ResultSet r = c.createStatement().executeQuery
    ("SELECT artist_name FROM customers");
    c.close();
    return r;
    catch(Exception e)
    System.out.println("Check artist_names_only method");
    return null;
    and then in my servlet i have put this:
    writer.println("<TABLE align=\"top\">");
    writer.println("<TH colspan =\"1\" width = \"4%\">");
    writer.println("<TH colspan =\"1\" width = \"7%\">");
    writer.println("<form method=POST action=BookingFromScreen>");
    writer.println("<select name=\"userList\" size=\"1\">");
    ResultSet r;
    r = factory.getCustomersDAO().get_Artist_Names_Only();
    while (r.next())
    writer.println("the artists are: ");
    writer.println("<option value="+r.getString("artist_name")+"></option>");
    writer.println("</select></TD></TR>");
    writer.println("<tr><td colspan = \"2\"><h2>Enter Artist Name to be booked: </h2></tr></td>");
    writer.println("</table>");
    this is horrible code and its not very surprising it doesn't work, however i'm burned out from looking at it and can't seem to see the problem, i'd really appreciate your help if you could point out to me how i'm being stoopid.
    Thank you
    Jen

    thank you saish, moving 'the artists are' helps visually, as for the fix, i really needed to store it in an arrayList, resultSets aren't very happy about being manipulated!
    here's the fix:
    writer.println("<select name=\"userList\" size=\"1\">");
    ArrayList a = new ArrayList();
    ResultSet r=null;
    // this is just my way of accessing the database and the correct method with the artist names in it
    r = factory.getCustomersDAO().get_Artist_Names_Only();
    while(r.next())
    // retrieve artist names as String variables
    String artist = r.getString("artist_name");
    // add to ArrayList
    a.add(artist);
    for(int i=0; i<a.size(); i++)
    Object art = a.get(i);
    art = (String)art;
    writer.println("<OPTION VALUE=\"" +art+ "\">" art "</OPTION>");
    writer.println("<tr><td colspan = \"2\"><h2>Enter Artist Name to be booked: </h2></tr></td>");
    writer.println("</SELECT></TD></TR>");
    thanks again, i've got another problem now that i'm just about to post about, how to register when one particular cell in a html table has had its link clicked!
    jenxx

  • Select Expert Drop down list

    Post Author: MarcS
    CA Forum: General
    Hi,
    I'm using Crystal Report 11. I'm creating a parameter field that will allow me to select a specific data from one field in my database.  When I use the "Select Expert" it only show me the first 500 records.  How can I see the rest of the data?

    Post Author: SKodidine
    CA Forum: General
    There is a time limit of 5 seconds by default.  All values fetched within 5 seconds will be displayed.  If you want to increase the time limit or the number of records fetched then you will have to modify the registry keys as described in this KBase article.
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2001119&sliceId=&dialogID=5902806&stateId=1%200%205904330
    Replace the registry key path in the article with HKEY_CURRENT_USER\Software\Business Objects\DatabaseServer

  • How can I get a drop-down list selection also be selected in another field with the same list but a different name?

    I have a street address and a billing address. A question is posed with a checkbox — "Is the billing address the same as the street address?" If Yes is checked, the street address automatically fills the billing fields. If No is checked, the user must fill in new information. In both the street address and billing addres, the State field is a drop-down list. How can I get the drop-down list selection in the street address State also be selected in drop-down list for the billing address State?

    Has anyone done this?

  • How to show first parameter value in drop down list as a default value dynamically in ssrs report?

    Hi,
    in my ssrs report i have two parameters, accounts and Manager ,there is a cascading between the accounts parameter and manager parameter, as per the cascading we will get managers names based on the account we selected in the accounts parameter,
    my requirement is the first name in the mangers drop down list  has to get selected as default value.
    please help me with this, it is an urgent requirement.
    Thanks in advance,
    Naveen

    Hi NaveenMSBI,
    According to your description, you want to use cascading parameters in the report, if the accounts are selected when you preview the report, the first manager name will be selected from drop down list as the default value. If so, there can be two scenarios:
    • If manager is single-valued parameter, we can get Available Values and Default Values from the same query as below. Then when the accounts are selected, the first manager name will be selected as default value.
    SELECT managerName FROM table_name WHERE accounts IN (@accounts)
    • If manager is multi-valued parameter, we need to use different query for Available Values and Default Values. In this case, please refer to Patrick’s solution.
    For more information about Adding Cascading Parameters, please refer to the following document:
    http://technet.microsoft.com/en-us/library/aa337498(v=sql.105).aspx
    If you have any questions, please feel free to let me know.
    Best Regards,
    Wendy Fu

  • How to add a dynamic drop down list in RDLC reports in WPF

    I have to Load an RDLC report in WPF application and need to include a drop down list in report.Based on the selection of drop down list different reports to be generated.I am using C# and WPF.
    Eg: I have to list the details of employees in in RDLC report.There is a country drop down list, Based on the selection of country drop down list we need to display details of employees in the selected country.

    Looking good.
    With rdlc I think you will have to use the windows report viewer control.
    If this was SAP crystal reports there's a wpf report viewer.
    I never actually tried that with rdlc and I suppose there is a small chance they turn out to be compatible.  
    If you have questions on rdlc specifically then you're probably better finding a forum specialises in that. Not sure where that would be but maybe in the sql server forums.  It's a business intelligence thing and people who do the likes of ssis are
    what you want really.
    I do reporting myself but I think you'll find few others who do so here.
    Good luck.
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

Maybe you are looking for

  • Problem installing GOOGLE MAPS

    hey i am unable to install GOOGLE MAPS as i want to share my location through LATITUDE. . Again d SATELLITE VIEW is very poor in NOKIA MAPS for INDIA. . djaghera Solved! Go to Solution.

  • XSQL/XSL deployment on Tomcat question

    I have been running my XSQL pages within the default Oracle/Apache/JServ environment. This is where I 'install' my source xsql/xsl files in the htdocs directory of Apache. I have now recently upgraded my environment so that it now consists of Tomcat

  • Is it possible to download a comma delimited file to..

    a Web Dev URL on the SAP Portal? We currently have a comma delimited file being emailed nightly using standard SAP FMs to a distribution list. We want to move these files to the Portal instead. Speaking with our Portal guys, they say the easiest way

  • HP Mini 1151 NR My Modem has stopped working. Help Please!

    I have the HP Mini 1151 NR, I was online and lost my internet connection, tried to get back on and couldn't. I spoke with Verizin, they sent me to HP. Somehow the modem is now missing and COM1 is missing. How could my modem just disappear? I have che

  • Performance Tuning Issues  ( How to Optimize this Code)

    _How to Optimize this Code_ FORM MATL_CODE_DESC.   SELECT * FROM VBAK WHERE VKORG EQ SAL_ORG AND                            VBELN IN VBELN AND                            VTWEG IN DIS_CHN AND                            SPART IN DIVISION AND