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.

Similar Messages

  • 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.

  • 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

  • How to handle multiple selection in the Spark List control with checkbox as itemrenderer?

    Hi All,
    I am using checkbox as an ItemRenderer in spark list.
    I have a query.
    how to handle multiple selection in the Spark List control with checkbox as itemrenderer?
    how to retrieve the selected item label?
    Thank you in advance.

    Hi there, I'll tweak your code a little bit to something like this:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="vertical">
        <mx:Script>
            <![CDATA[
                 import mx.events.ListEvent;
                 import mx.controls.CheckBox;
               [Bindable]
               private var mySelectedIndexes:ArrayCollection=new ArrayCollection();
                private function onChange(e:ListEvent):void
                   if(CheckBox(e.itemRenderer).selected){
                             mySelectedIndexes.addItem(e.rowIndex);
                   }else{
                                  mySelectedIndexes.removeItemAt(mySelectedIndexes.getItemIndex(e.rowIndex));     
                   chkList.selectedIndices=mySelectedIndexes.toArray();
            ]]>
        </mx:Script>
    <mx:ArrayCollection id="collection">
            <mx:Object label="Test A"/>
            <mx:Object label="Test B"/>
            <mx:Object label="Test C"/>
            <mx:Object label="Test D"/>
            <mx:Object label="Test E"/>
            <mx:Object label="Test F"/>
            <mx:Object label="Test G"/>
        </mx:ArrayCollection>
    <mx:List id="chkList" dataProvider="{collection}" itemRenderer="mx.controls.CheckBox"  itemClick="onChange(event);" allowMultipleSelection="true"/>
    </mx:Application>

  • 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?

  • Multiple Selection in Search Result List in PCUI

    Hi,
    Our requirement is to allow creation of new records in list view of the PCUI application CRMM_ACCOUNT. I'm using old floor plan CRM 4.0 to meet this requirement. But this is causing a problem. It's not allowing multi select in the search result list (Event INIT, Screen Element SRMS). If I change the screen element to SRME, it allows multiple selection (thru selection checkboxes) but does not allow creation of new records in list view.
    Also, how to activate the multi-valued search on certain fields. I've already checked the "Multi-Value" check box for the relevant field.
    Any help on this will be much appreciated.
    Regards,
    Vishal

    a®s wrote:
    Hi,
    You can find lot of thread in this for forum for your query.
    example
    a®s
    Thanks ! it's helpful!   But my requirement is a little bit different. (Sorry I didn't make it clear)
    I created a table maintenance (SM30) for a table. The F4 Search help should be applied to a field of the table when a user creates a new entry. I hope it makes clear.
    btw: I have awarded some points! Because it's also good to know some other ways:)

  • Multiple Selection not working on List Box Properties/Option Screen

    When I select multiple selection on the List Box Properties/Options tab, I get no difference from the single selection default. It still highlights only the last of the multiple entries (like a single selection) and displays only the last entry. Is there something else I need to do?
    Thanks for your help.

    To select multiple items, you need to hold down the Ctrl key when clicking additional items.

  • Derived Column : for Lookup type column with 'Allow Multiple Selection' : True in sharepoint list

    Hello,
    I have one column where field type is Lookup but 'Allow Multiple Selection' is true in SharePoint List.
    So, in this scenario data from the SharePoint list is being exported as below.
    1;#Red;#3;#Blue;#4;#Black;#5;#Green
    Now resultant text exported to SQL Table should be :
    1,3,4,5
    OR
    Red,Blue,Black,Green
    Either way it is fine. How can we get this using Derived Column and Data Conversion?
    I am able to do this for single occurrence using below expression.
    (DT_STR,100,1252)(SUBSTRING([BusinessUnit],FINDSTRING([BusinessUnit],"#",1)+1,LEN([BusinessUnit])-FINDSTRING([BusinessUnit],"#",1)))
    Please suggest.
    Thank you,
    Mittal.

    Your best bet would be to do this in sql using a string parsing udf as below
    http://visakhm.blogspot.com/2010/02/parsing-delimited-string.html
    You can make it into procedure and call it from oledb command task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • 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

  • Does multiple selection possible in the lists.

    HI Everyone,
    in the t-list can we select more than one Element IF yes than how to do this.
    Thanks,
    Kashif.

    Kashif,
    no, you can't. However, you will be able doing this using a PJC on teh Web. There is a sample in the Forms9i demos that you can reuse for this purpose.
    Frank

  • 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

Maybe you are looking for

  • Does any one help me. I tried to install Oracel 8.1.5 on RedHat Linux 7.0 and failed.

    I am running my system with RedHat Linux 7.0 and tried to install Oracle 8.1.5. I extracted jre required files and when i tried to start ./runIns.sh from install/linux directory it is giving me an error Unable to initalize threads: cannot find class

  • Error during mapping service, RFC-XI-File Adapter

    Hello,   I have the following problem: I am using RFC to send some data to XI and then to File Adapter, however I get a short dump with "5990 Error during mapping service in XI". Even though mappings works, I tested using the document that comes in X

  • How to distinquish different versions of QT in AS

    Hi all, In trying to debug an Applescript using QuickTime, I've run across an issue I'm not sure how to solve in AS. I have both QuickTime 5.0.2 in Classic, and QT Pro 6.5.3 in Mac OSX 10.2.8. When I run test scripts with QT Pro 6.5.3 already up, the

  • OBIEE 11.1.1.5.0 Write back error.

    I am working on OBIEE 11G(11.1.1.5.0) write back feature. After all the steps which were mentioned in 11g Documentation , there's an Error message said "Write back Error" . No other detail information. Do you have any idea about it?

  • How to add partition to Macintosh HD

    Got my new macbook air yesterday. Had enabled the file vault. It got stuck and displayed a message to connect to power supply. Even after connecting to power supply, it made no difference. Hence backed up from time machine and tried to restore. The r