Populate Multiple DropDownLists and a ListBox

Hello All,
Can someone please help me with the following.
What I have are two dropdownlists and a listbox. What I am trying to do is based upon a selection made in DropDownList1 clear all items in DropDownList2 and replace them only those items that relate to the selection made in DropDownList1, then select from the available items now in DropDownList2 and populate ListBox1.
This is what I came up with so far, but can't get it to work.
Using a "change" event javascript the following is what I have in DropDownList1:
Dropdown2.rawValue = xfa.event.newText;
if (this.boundItem(xfa.event.change) == 0) { //DATABASE 1
Dropdown2.clearItems();
Dropdown2.addItem("DIRECTORY 1");
Dropdown2.addItem("DIRECTORY 2");
Dropdown2.addItem("DIRECTORY 3");
Dropdown2.addItem("DIRECTORY 4");
Dropdown2.addItem("DIRECTORY 5");
} else if (this.boundItem(xfa.event.change) == 1){ //DATABASE 2
Dropdown2.clearItems();
Dropdown2.addItem("DIRECTORY 6");
Dropdown2.addItem("DIRECTORY 7");
Dropdown2.addItem("DIRECTORY 8");
Dropdown2.addItem("DIRECTORY 9");
Dropdown2.addItem("DIRECTORY 10");
In my DropDownList2 change event I have the following:
ListBox1.rawValue = this.boundItem(xfa.event.change);
Can someone please help me with this?

Hello William,
I know your post is over a year old, but, were you able to ever figure this out?
Any help would be appreciated.
Thank you in advance.
- Vivianne

Similar Messages

  • Populate multiple rows and columns based off of a single cell

    Does anyone know a way to populate multiple rows and columns based off of the input of a single cell. I'm trying to create a workout tracker that auto populates from a master list of workouts. Example, in A2 the user selects the workout from a drop down menu (St1, St2, St3, etc) and the workout is pulled from the master list and is populated into B2:C5.
    I'm using =LOOKUP(A2,Master :: A2:A32,Master :: C2:C32) right now, but it's only drawing the top column. I'm looking for an edit for the formula (or completely new formula) that will place the info from the 1st column of the Master table into the 1st column of the Auto Tracker 1 table and then on down until the 4th column.
    Here is a screen shot of what I have now:
    And an example of what I'd like to accomplish:
    Any and all help is appreciated, and please let me know if there is any more info that I can give that'd help out.

    Hi Mike,
    Your screenshots show that you have merged some cells in Column A of both tables. That may be the reason why the LOOKUP function is having trouble working out which range of cells to examine.
    Hope this helps.
    Regards,
    Ian.

  • How to select multiple values from a listbox

    Hi,
    I have a list box on my UI which is not allowing me to select multiple values
    I want to use multi select list box .. When i go to source of UI component and change that to select many listbox my page is not rendering it is giving error
    When i drag & drop the component i am unable to drop it as a multi select list box that option is not coming.
    I am working on Jdev 11.1.1.3 and I am using ADF/BC components
    How to select multiple values from a listbox ?
    Thanks,

    Hi,
    I want to use multi select list box .. When i go to source of UI component and change that to select many listbox my page is not rendering it is giving errorank
    And what is the error ?
    Frank

  • How to populate multiple entries to Bapi Table

    Hi all,
      How to populate multiple entries to Bapi Table.....
    Here is the code(in component controller)
      Z_Recr_Apply_Point_Input request = new Z_Recr_Apply_Point_Input(WDModelScopeType.TASK_SCOPE);
           int  size = wdContext.nodeApplicants().size();
                for(int i = 0 ; i < size ; i++)
                    String isselected = wdThis.wdGetContext().nodeApplicants().getElementAt(i).getAttributeAsText("Appl_Number");
                     if(isselected == "true")
                               com.models.veteranpoint.Zrecr_Aplno appid = new
                                    com.models.veteranpoint.Zrecr_Aplno();                                        
                                    appid.setAppl_Number(wdContext.nodeApplicants().
                                        getApplicantsElementAt(i).getAppl_Number());
                               request.addApplicants(appid);
    I want to pass the selected input field to bapi..
    Please tel me where i pass the input field...
    Please correct my code...
    Thanks & regards
    Mathi s

    Hi,
    Steps to insert multiple entries to BAPI table.
    1.Create an instance for BAPI input
    2.Bind the instance to the Node of the BAPI input
    3.Create instance of the Structure(BAPI table) to which input has to be added.
    4.Set the input values to the Structure instance.
    5.Add the instance to the BAPI input.
    6.Execute
    From the given example,I assume Z_Recr_Apply_Point_Input  is the BAPI Input and com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno as Structure
    Step 1:
    Z_Recr_Apply_Point_Input request = new Z_Recr_Apply_Point_Input(WDModelScopeType.TASK_SCOPE);
    Step 2:
    <b>wdContext.nodeZ_Recr_Apply_Point_Input.bind(request);</b>
    Steps 3 & 4:
    int size = wdContext.nodeApplicants().size();
    for(int i = 0 ; i < size ; i++)
    String isselected = wdThis.wdGetContext().nodeApplicants().getElementAt(i).getAttributeAsText("Appl_Number");
    if(isselected == "true")
    com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno appid = new
    com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno();
    appid.setAppl_Number(wdContext.nodeApplicants().
    getApplicantsElementAt(i).getAppl_Number());
    <b>wdContext.currentZ_Recr_Apply_Point_InputElement().modelObject().addRecr_Aplno(appid);</b>
    Step 5:
    <b>wdContext.currentZ_Recr_Apply_Point_InputElement().modelObject().execute();</b>
    Regards,
    Viji Priya

  • How to populate table rows with selected listbox items?

    Hello,
    I am trying to populate a table with selected listbox items. Each item should be a new row in the table. The picture below is the listbox and table I am using. I need to get the selected name to populate the Attendee column of the table when the user clicks the Add button. How do you do this with mutltiple attendees selected?
    Thank you,
    Angie

    So you're considering the fact the if the user clicks the button twice, the name will appear twice and you don't want this, right?
    Then you must check if any value is the same than the one you are about to add in the row..
    for (var i = 0 ; i < ListBox1.length; i++){
         if (ListBox1.getItemState(i) == true){
              for (var x = 0 ; x < Table1._Row1.count; x++){
                   var boNewAttendee = true;
                   var strAttendee = Table1.resolveNode("Row1[" + x.toString() + "]").txtAttendee;
                   var newAttendee = ListBox1.getDisplayItem(i);
                   if (strAttendee.rawValue == newAttendee){
                        boNewAttendee = false;
                        break;
              if (boNewAttendee){
                   txtAttendee.rawValue = ListBox1.getDisplayItem(i);

  • Digital Signature - Auto-Populate Multiple Signature Fields

    Hello,
    I am in the process of testing digital signatures with PDFs.  I have a Topaz Signature Pad working in conjunction with Acrobat 9 and Reader 9 so that I can insert digital signatures with no problems.
    We are wanting to take this a step further and streamline a particular business process.  Does anyone know of a way to have a digital signature auto-populate multiple designated signature fields?  We have about 15 documents that require an employee signature in multiple places and rather than having someone sign a document over and over again, we'd like the option for a single signature that auto-fills in all the required signature fields.
    This doesn't necessarily have to work with Topaz Signature Pads.  I am completely open to other suggestions, products or methodologies for making this work as long as something can be automated to auto-fill multiple signature fields.
    Many thanks to the forum!
    Regards,
    Geoff

    Hi Geoff,
    Maybe there is no need to re-inent the wheel. Auto-population of forms is a feature of SignDoc - se http://www.signplus.com/en/products/signdoc/features.php#Form_Preparation
    Auto-filling of forms is requirement which can be achieved through various processes.
    In combination with Adobe LiveCycle this is executed in the case study of Adobe/SOFTPRO.
    http://blogs.adobe.com/security/2010/01/adobe_secured_customer_showcas_8.html
    http://www.adobe.com/cfusion/showcase/index.cfm?event=casestudydetail&casestudyid=762388&l oc=en_us
    However there are also other ways to move forward depending on the envrionment you are using.
    If you are based in the US you may want to get in touch with Rod Vesling SOFTPROs E-Signature Specialist, based in CA near LA, for a chat. His office phone is 805 435 1214. His email is [email protected]
    Depoending on the deice of Topaz you are usinfg you may start right away as quite a decent number of Topaz tablets are supported by SignDoc. However the best idea might be to give Rod a ring and idscus your business requirements in detail.
    Kind regards
    Joerg

  • Selecting multiple items in a listbox

    Is it possible to select multiple items in a listbox and insert them into an array. Currently, to get around not knowing if this is possible, I have two listboxes. One has items available and the other has items you want to use. I can either double click or press an add/remove button to move items between the two listboxes. The problem there is that when I move an item from one to the other it puts it at the end of the list. I want to keep the lists in order by channel. My items structure is as follows: "'channel number' 'Channel name'" ie "1 Date\Time"
    I can sort this list but it sorts by the first character. If I have channels 1-30. It sorts to 1,11,12,13,14,...,3,30. I want 1,2,3,...,30 I would prefer to select multiple items in the listbox but if I can't, how can I do a better sort with my current method of two listboxes.
    Thanks,
    AJL

    Hi together,
    Since there is no multiple selection in Enumlistbox in SUD dialog, i wanted to use a table.
    But i couldnt get the table to show the values from a user variable definition file (dynamic enumeration list). I fail to assign one column of the table to that user variable.
    Below i attach the corresponding files:
    where could be the problem?
    And i was looking through DIAdem help file to look for information, how to define different types of user variables (for example vectors) but i couldnt find enough information. Do you have any document or examples where i can see the defining and usage of different type variables in different controls in SUD dialogs ?
    thanks in advance
    kaan
    Attachments:
    dynamic_enumeration_for_table.zip ‏2 KB

  • OWB Mapping populates multiple rows

    We have OWB process flow which runs at the interval of 4 hours which calls 7 OWB oracle plsql packages internally.
    All these 7 packages have source single table (STG) and single target table (FACT)
    out of these 6 interations of the job one job populates the multiple rows.
    E.g. Stg count Fact Count
    job 1 10 10
    job 2 10 10
    job 3 10 10
    job 4 10 10
    job 5 10 10
    job 6 10 60
    when investigated, we found that the STG table's one month older partition dropped on daily basis and the job timing is just before 6th job.
    So we changed the timing from 22:00 to 14:00 , and now job 6 does not populate the multiple rows in to FACT table but now job 4 started to populate multiple rows
    E.g. Stg count Fact Count
    job 1 10 10
    job 2 10 10
    job 3 10 10
    job 4 10 70
    job 5 10 10
    job 6 10 10
    so we have created one more job which will compile the invalid packages immedialtly after the parition job.
    But still it generates duplicates/ multiple rows.
    I need to know, why only one or sometimes two generates multiple rows and what is the solution for this ?
    The duplicates/(triplicate or more) population is intermittent.
    Oracle database : 10.2.0.3.0
    Oracle 10g Warehouse Builder Repository : 10.2.0.2.0
    Regards,
    Viks

    Hi,
    Thanks for your reply.
    I have checked that, there is no cartensian prodoct.
    This issue is happening intermittently and only after source table partition purging job.
    Thanks,
    Vik

  • Report Builder 3.0 DropDownList and @UserID Parameter?

    I can populate a report fine using a Stored Procedure and @UserID parameter. The problem is I'm trying to populate a DropDownList with the same @UserID parameter, but the DropDownList never populates, thus the report never populates.
    Q. How can I populate the DropDownList before the actual report Stored Procedure is run?

    Hi pointeman,
    What’s the meaning of DropDownList? Are you saying the ComboBox control with DropDownList as DropDownStyle in Visual Studio? Are you want to use the ComboBox to display the @UserID parameter drop-down list? As per my understanding, I think we can directly
    add ReportViewer control to display the report with parameter drop-down list to achieve your requirement.
    For more information about how to display reports to an application, please refer to the following document:
    http://msdn.microsoft.com/en-us/library/ms252104.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Multiple users and multiple select options

    Hi,
    First of all, let me congratulate Oracle HTML DB team for this great product! This is extremely powerful and useful.
    I have multiple selection item on the form to generate report for the selected multiple schools. I have two critical questions.
    1) Currently I am deleting all records from database tables for multiples selects and similarly selecting all records from these tables to populate dependent LOVs and so on. This is a major issue when multiple people use this application at the same time. I looked at couple of examples to create, delete and select records based on IDs (unique) and it is not clear to me if I need to create parameter/hidden params on the reports side or on the HTML DB side or .. how do they communicate etc. Could any one clarify this process of checking for unique IDs please.
    2) Is there any way to give an option to the user to treat multiple selected item as just one single and to treat them separate? For example, if we let the user count number of students at two schools, how can we let the user count two schools separate as well as both schools together? This should also further ask for the possible options separate for both schools separate if they were to run separate.
    This is very important for me and appreciate any help from you. Thanks in advance.

    Hi,
    Could any one point me in the right direction, please!
    Thanks,

  • How do we split our iCloud accounts but keep one iTunes account so we can share purchased content for our multiple iPhones and iPads?

    How do we split our iCloud accounts but keep one iTunes account so we can share purchased content for our multiple iPhones and iPads?

    You can migrate a copy of the data to a new account, then delete the other person's data from each account.  To do this, on the phone that will be changing accounts, if you have any photos in photo stream that you want to keep on the phone, save these to your camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll. If you have any synced notes that you want to keep on the phone, email these to yourself so you can create new notes in the new account.
    Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account.  (This will only delete the account from this phone, not from iCloud.  The phone that will be keeping the account will not be effected by this.)  When prompted about what to do with the iCloud data, be sure to select Keep On My iPhone.  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.  You will create a new icloud email address with you turn Mail to On.
    Finally, to un-merge the data you will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't want (such as deleting your wife's data from your account, and vice versa).

  • Info package ABAP Routine to populate date from and To filed

    Hello Experts,
    I have requirement to populate the From and To dates with the: T-1 to T (Current Date u2013 1 to Current Run Date aka Sy-Datum) at info package level.I have written a code for this but see that From filed is not getting populated but TO filed is filled with current date.Can someone please tell me wats wrongwith my code?It is a delta info pacakage.
    data: l_idx like sy-tabix.
    read table l_t_range with key
         fieldname = 'CPUDT'.
    l_idx = sy-tabix.
      l_t_range-sign = 'I'.
      l_t_range-option = 'BT'.
      l_t_range-low = sy-datum - 1.
      l_t_range-High = sy-datum.
    modify l_t_range index l_idx.
    p_subrc = 0.
    Thanks,

    Was able to tackle this using the following code.
    data: l_idx like sy-tabix.
    data: V_date type sy-datum.
    v_date = sy-datum - 1.
    read table l_t_range with key
         fieldname = 'CPUDT'.
    l_idx = sy-tabix.
      l_t_range-sign = 'I'.
      l_t_range-option = 'BT'.
      l_t_range-low = v_date.
       l_t_range-High = sy-datum.
    modify l_t_range index l_idx.
    p_subrc = 0.
    Thanks,
    I am closing this thread

  • My touch screen isn't working and stopped working after I went running with it. I have restarted it multiple times and restored it on my MacBook. It will still not let me slide it to even look at the phone. Please help ASAP.

    I took my iPhone running today and when I returned I was not able to slide it open or type in my pass code. All buttons are still responding. I have tried restarting it multiple times and even restored it, but the touch screen will not respond to anything. I also cleaned the screen off with a damp cloth. Please help! I WAS able to slide it open in the middle of restoring it but not able to click on any apps. Help! My life is on my iPhone and I am a nurse on call!

    Try restore as new using computer iTunes.

  • Can anyone advise how to close apps on iPad with new iOS? I have multiple open and cannot close them.

    Can anyone advise how to close apps with the new iOS?  I have multiple open and cannot close them

    Double-tap on the Home button. You will see a preview of the app above the actual icon. Slide the preview up to kill it.
    Please get the iPhone User Guide (For iOS 7 Software)Sep 19, 2013 - 23 MB.

  • Can I use one itunes account for multiple users and multiple devices

    Can I use one itunes account for multiple users and multiple devices?

    The iTunes EULA, as I understand it (I'm not an attorney )for Apps is basically that one person can use an App multiple devices, or multiple people can use an App one device..so one to many or many to one, but not many to many....

Maybe you are looking for