Linking drop down boxes to selected layers

Hi all,
Acrobat noob here.
I've created a map with a legend. Exported it to pdf and then linked selectable buttons in the legend to the layers on the map so when I click on secondary schools in the legend all the secondary schools on the map show as points.
Now what I want to do with those points is either if I hover or click on the point that information about the secondary school shows, I also want to do that with every layer that I have on the map. I have other layers such as Primary Schools and Libraries etc that also show as points on the map. I know I can do this, the issue with this is that if there are points close together that it will be impossible for the user to select the one they want. So I was hoping that there's some script out there to run so that when one layer is selected that only the drop down menus linked to that layer show.
Any ideas?
Thanks in advance,
Gav

Hi Ralph,
therefore you can write a simple ABAP RFC. Start the transaction SE80 and create a RFC function module.
If you use text in your infoobject ZDIVISION you can use a simple ABAP:
FUNCTION ZZ_GET_MD_ZDIVISION .
*"*"Lokale Schnittstelle:
*"  TABLES
*"      T_TABLE_VIEW STRUCTURE  /BIC/TZDVISION OPTIONAL
* For reading the data from the textable
SELECT * FROM /BIC/TZDVISION INTO CORRESPONDING FIELDS OF TABLE T_TABLE_VIEW.
ENDFUNCTION.
Then you can use a dynamic entry list and choose for the key F_BIC_DIVISION and TXTSH or TXTMD for your text.
Then you have to create your RFC function module for ZPRODUCT, this could look like:
FUNCTION ZZ_GET_MD_PRODUCT .
*"*"Lokale Schnittstelle:
*"  IMPORTING
*"     VALUE(I_SEARCH) TYPE  STRING OPTIONAL
*"  TABLES
*"      T_TABLE_VIEW STRUCTURE  /BIC/TZPROCUDT OPTIONAL
data: l_condition type string.
* Preparing String for SQL Statement e.g. A% for Division A
CONCATENATE '''' I_SEARCH '%' '''' INTO I_SEARCH.
CONCATENATE 'ZPRODUCT LIKE' I_SEARCH INTO l_condition SEPARATED BY SPACE.
* For reading the data from the textable
SELECT * FROM /BIC/TZPROCUDT INTO CORRESPONDING FIELDS OF TABLE T_TABLE_VIEW WHERE (l_condition).
ENDFUNCTION.
Then you create a dynamic entry list for ZPRODUCT and choose for input (I_SEARCH) the value of the divsion and for output again ZPRODUCT for the key and if you use text TXTMD or TXTSH for the texts.
Hope that helps,
Best Regards,
Marcel

Similar Messages

  • Linking TextFields to Drop Down Boxes and selections back to subforms

    I suppose I have two separate questions here.
    #1 - I would like to have a drop down box auto populate based on a text field in a repeating sub-form.
    For instance, I have a "Loan Info Subform" with the loan number text field on it that can be repeated on the same form and I have a "collateral subform" where I would like to have the choice of which loan number within the form the collateral belongs to.
    Is this possible?
    And if so, question #2
    I have a "FairMarket Value of Collateral" decimal field on the Collateral Subform that I would like to autopopulate back into the proper Loan Info Subform, based upon the choice in the drop down list.
    Make sense?
    Thank you in advance for your help!!

    So hopefully you can see this, if not, I will re-vamp.
    Does this help?
    Essentially the loan form and the collateral form can be repeated and I would like to link them together.

  • Linking drop down boxes

    Hi all,
    I would like to add multiple drop down boxes to my model, say f.e.:
    - division
    - country
    - sales manager
    - customer
    These drop down boxes should be linked, such that when I select a value for division, the second drop down box only contains values that are applicable for division A. In our example, division A only sells products in Germany and Spain. When I select Germany, I would like the third drop down box to only show the names of sales manager from division A that sold products in Germany.
    How to build this?
    Best regards,
    Ralph

    Hi Ralph,
    therefore you can write a simple ABAP RFC. Start the transaction SE80 and create a RFC function module.
    If you use text in your infoobject ZDIVISION you can use a simple ABAP:
    FUNCTION ZZ_GET_MD_ZDIVISION .
    *"*"Lokale Schnittstelle:
    *"  TABLES
    *"      T_TABLE_VIEW STRUCTURE  /BIC/TZDVISION OPTIONAL
    * For reading the data from the textable
    SELECT * FROM /BIC/TZDVISION INTO CORRESPONDING FIELDS OF TABLE T_TABLE_VIEW.
    ENDFUNCTION.
    Then you can use a dynamic entry list and choose for the key F_BIC_DIVISION and TXTSH or TXTMD for your text.
    Then you have to create your RFC function module for ZPRODUCT, this could look like:
    FUNCTION ZZ_GET_MD_PRODUCT .
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_SEARCH) TYPE  STRING OPTIONAL
    *"  TABLES
    *"      T_TABLE_VIEW STRUCTURE  /BIC/TZPROCUDT OPTIONAL
    data: l_condition type string.
    * Preparing String for SQL Statement e.g. A% for Division A
    CONCATENATE '''' I_SEARCH '%' '''' INTO I_SEARCH.
    CONCATENATE 'ZPRODUCT LIKE' I_SEARCH INTO l_condition SEPARATED BY SPACE.
    * For reading the data from the textable
    SELECT * FROM /BIC/TZPROCUDT INTO CORRESPONDING FIELDS OF TABLE T_TABLE_VIEW WHERE (l_condition).
    ENDFUNCTION.
    Then you create a dynamic entry list for ZPRODUCT and choose for input (I_SEARCH) the value of the divsion and for output again ZPRODUCT for the key and if you use text TXTMD or TXTSH for the texts.
    Hope that helps,
    Best Regards,
    Marcel

  • How to put drop down box in selection screen

    Hi all,
    I have to create a selection screen.
    in that i have to use a drop down box for the text box.
    how to do that.
    thanking u.
    with regards,
    giri.

    HI
    Check thi ssample code -
    REPORT ZTESTPRG.
    TYPE-POOLS: VRM.
    DATA: NAME TYPE VRM_ID,
    LIST TYPE VRM_VALUES,
    VALUE LIKE LINE OF LIST.
    PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.
    AT SELECTION-SCREEN OUTPUT.
    NAME = 'PS_PARM'.
    VALUE-KEY = '1'.
    VALUE-TEXT = 'LINE 1'.
    APPEND VALUE TO LIST. VALUE-KEY = '2'.
    VALUE-TEXT = 'LINE 2'.
    APPEND VALUE TO LIST.
    CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    START-OF-SELECTION.
    WRITE: / 'PARAMETER:', PS_PARM.
    Hope this helps.
    OR
    You can use the F4 function module or use a List box
    see the sample codes
    See the following ex:
    TYPES: BEGIN OF TY_MBLNR,
    MBLNR LIKE MKPF-MBLNR,
    END OF TY_MBLNR.
    DATA: IT_MBLNR TYPE STANDARD TABLE OF TY_MBLNR WITH HEADER LINE.
    data: it_ret like ddshretval occurs 0 with header line.
    At selection-screen on value-request for s_mat-low.
    Select MBLNR from mkpf into table it_mblnr.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'MBLNR'
    PVALKEY = ' '
    DYNPPROG = ' '
    DYNPNR = ' '
    DYNPROFIELD = ' '
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'S'
    MULTIPLE_CHOICE = ' '
    DISPLAY = ' '
    CALLBACK_PROGRAM = ' '
    CALLBACK_FORM = ' '
    MARK_TAB =
    IMPORTING
    USER_RESET =
    TABLES
    VALUE_TAB = IT_MBLNR
    FIELD_TAB =
    RETURN_TAB = IT_RET
    DYNPFLD_MAPPING =
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF SY-SUBRC = 0.
    read table it_ret index 1.
    move it_ret-fieldval to S_mat-low.
    ENDIF.
    Go through the test program.
    REPORT Ztest_HELP .
    TABLES : MARA.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_MATNR(10) TYPE C.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF ITAB OCCURS 0,
    MATNR TYPE MATNR,
    END OF ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
    SELECT MATNR
    FROM MARA
    INTO TABLE ITAB
    UP TO 10 ROWS.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'MATERIAL NUMBER'
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_MATNR'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = ITAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3.
    LIST BOX
    Input : p_char = 'J'.
    Press: enter
    List Box of Month = January, June , July.
    REPORT ZLIST_VALUES.
    TYPE-POOLS vrm.
    tables:
    spfli.
    parameters: p_char type c.
    parameters:
    p_month(12) as listbox visible length 20,
    p_year as listbox visible length 20 .
    DATA:
    t_table TYPE STANDARD TABLE OF vrm_value,
    t_table1 TYPE STANDARD TABLE OF vrm_value,
    vrm_values1 LIKE LINE OF t_table.
    DATA:
    t_year TYPE STANDARD TABLE OF vrm_value.
    data: w_year(4) type n value '2000'.
    at selection-screen output.
    vrm_values1-key = 'a'.
    vrm_values1-text = 'January'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'p'.
    vrm_values1-text = 'February'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'q'.
    vrm_values1-text = 'March'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'r'.
    vrm_values1-text = 'April'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 's'.
    vrm_values1-text = 'May'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 't'.
    vrm_values1-text = 'June'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'u'.
    vrm_values1-text = 'July'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'v'.
    vrm_values1-text = 'August'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'w'.
    vrm_values1-text = 'September'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'x'.
    vrm_values1-text = 'October'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'y'.
    vrm_values1-text = 'November'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'z'.
    vrm_values1-text = 'December'.
    APPEND vrm_values1 TO t_table.
    t_table1[] = t_table.
    delete t_table1 where text+0(1) <> p_char.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = 'p_month'
    values = t_table1
    EXCEPTIONS
    ID_ILLEGAL_NAME = 1
    OTHERS = 2.
    do 10 times.
    add 1 to w_year.
    vrm_values1-key = sy-index.
    vrm_values1-text = w_year.
    APPEND vrm_values1 TO t_year.
    enddo.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = 'p_year'
    values = t_year
    EXCEPTIONS
    ID_ILLEGAL_NAME = 1
    OTHERS = 2.
    start-of-selection.
    write: p_month.

  • I go to a website that has drop down boxes to select videos they do not work in Firefox but do in IE

    I am working in a site called Niche Proffit Classrooms. They require me to use Firefox. I have installed Firefox 11.2. Their drop down boxes to choose a video to watch work fine in IE but not in Firefox when using my desktop. They only drop down to expose 1 video out of 8. If using my laptop, they work in Firefox. I have uninstalled and reinstalled Firefox 11.2 on my desktop but it still does not work.

    ''"I have installed Firefox 11.2"'' - There's no such Firefox version. It could be either Firefox 11 or Firefox 12.
    * see this article to find-out your Firefox version -> [[Finding your Firefox version]]
    Regarding your problem, perform the suggestions mentioned in the following articles:
    * Make sure that you are using the '''"Remember History"''' setting as described in this article -> [[Settings for privacy, browsing history and do-not-track]]
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache Clear Cookies & Cache]
    * [[How to clear the cache#w_clear-the-cache|Clear the Network Cache]]
    Check and tell if its working.

  • Linking Drop Down Boxes / Combo Boxes

    I wonder if I could ask someone to please help with a problem I am having with linking lists and combo fields? I looked at the tutoral for this and its exactly what I want to do (
    http://www.acrobatusers.com/tutorials/2 … _livecycle) but still cannot seem to get this to work.
    I have a list of items in a drop down (see below) and when you select one of these (such as Bachelor of Arts (BA)) I want a range of options in another drop-down (Mode of Study, eg. full-time) to become available to choose and once one of these is chosen I then want a defined variable to appear in a text box. The only exception to this is where variable mode of study is selected, as I would like it to be possible to have the option to make a custom entry into the text box. I'd also like to add a line if there is more than one qualification just like in your example where an order line can be added.
    Any help, would be greatly appreciated!
    Thanks,
    Ken
    Drop Down Variables 1 (Qualifcations) Examples (in total there are about 20 of these):
    Certificate of Higher Education (Cert HE)
    Diploma of Higher Education (Dip HE)
    Foundation Degree in Arts (FdA)
    Foundation Degree in Science (FdSc)
    Bachelor of Arts (BA)
    Bachelor of Dental Surgery (BDS)
    Bachelor of Engineering (BEng)   etc....
    Drop Down Variables 2 (Mode of Study)
    Full Time 
    Part Time 
    Full Time & Part Time 
    Distance Learning (Full Time) 
    Distance Learning (PartTime) 
    Distance Learning (FT & PT) 
    Variable Mode 
    Text Box Defined Variables (Duration of Programme) - so when you select the two variable you get the = option
    Certificate of Higher Education (Cert HE) + Full Time = 1 Academic Year
    Certificate of Higher Education (Cert HE) + Part Time = 2 Academic Years
    Certificate of Higher Education (Cert HE) + Full Time + Part Time = 1AY FT / 2AY PT
    Certificate of Higher Education (Cert HE) + Distance Learning (Full Time) = 1 Academic Year
    Certificate of Higher Education (Cert HE) + Distance Learning (Part Time = 2 Academic Years etc.....

    I wonder if I could ask someone to please help with a problem I am having with linking lists and combo fields? I looked at the tutoral for this and its exactly what I want to do (
    http://www.acrobatusers.com/tutorials/2 … _livecycle) but still cannot seem to get this to work.
    I have a list of items in a drop down (see below) and when you select one of these (such as Bachelor of Arts (BA)) I want a range of options in another drop-down (Mode of Study, eg. full-time) to become available to choose and once one of these is chosen I then want a defined variable to appear in a text box. The only exception to this is where variable mode of study is selected, as I would like it to be possible to have the option to make a custom entry into the text box. I'd also like to add a line if there is more than one qualification just like in your example where an order line can be added.
    Any help, would be greatly appreciated!
    Thanks,
    Ken
    Drop Down Variables 1 (Qualifcations) Examples (in total there are about 20 of these):
    Certificate of Higher Education (Cert HE)
    Diploma of Higher Education (Dip HE)
    Foundation Degree in Arts (FdA)
    Foundation Degree in Science (FdSc)
    Bachelor of Arts (BA)
    Bachelor of Dental Surgery (BDS)
    Bachelor of Engineering (BEng)   etc....
    Drop Down Variables 2 (Mode of Study)
    Full Time 
    Part Time 
    Full Time & Part Time 
    Distance Learning (Full Time) 
    Distance Learning (PartTime) 
    Distance Learning (FT & PT) 
    Variable Mode 
    Text Box Defined Variables (Duration of Programme) - so when you select the two variable you get the = option
    Certificate of Higher Education (Cert HE) + Full Time = 1 Academic Year
    Certificate of Higher Education (Cert HE) + Part Time = 2 Academic Years
    Certificate of Higher Education (Cert HE) + Full Time + Part Time = 1AY FT / 2AY PT
    Certificate of Higher Education (Cert HE) + Distance Learning (Full Time) = 1 Academic Year
    Certificate of Higher Education (Cert HE) + Distance Learning (Part Time = 2 Academic Years etc.....

  • Drop down box in selection screen

    Hi all,
            I have a requirement in which i need to display a drop down list box for some of the fields in the input selection screen like 1) status to be A) Yes b) No and the 2) Order field  to be A) Not started B) In Progress C) Complete....
      So i need any one of you please  help me out to write the code for the above requirement, hope iam clear in my question and if possible please try give me some example code thanks in advance.

    Hi,
    Check this sample code..
    TYPE-POOLS: vrm.
    PARAMETERS: p_test TYPE char4 AS LISTBOX VISIBLE LENGTH 10.
    DATA: t_data TYPE  vrm_values.
    INITIALIZATION.
      DATA: s_data TYPE vrm_value.
      s_data-key = 'ABCD'.
      s_data-text = 'First four'.
      APPEND s_data TO t_data.
      s_data-key = 'EFGHI'.
      s_data-text = 'Second four'.
      APPEND s_data TO t_data.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id              = 'P_TEST'
                values          = t_data
           EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    START-OF-SELECTION.
    WRITE: / p_test.
    Thanks,
    Naren

  • Help needed on linking drop down boxes

    Hello there,
    I am using adobe life cycle designer 8 to make forms. These forms are usesd to collect information on persons working in the healthcare industry.
    I want to use drop down lists that are "connected". Depending on the choice made in the first dropbox, the user will get new options in the second dropbox.
    Example:
    Dropbox 1
    Values
    - value 1
    - value 2
    - value 3
    Dropbox 2
    If user choses value 1, they can chose the following values in dropbox 2:
    - Value A
    - Value B
    If user choses value 2, they can chose the following values in dropbox 2:
    - Value C
    - Value D
    If user choses value 3, they can chose the following values in dropbox 2:
    - Value E
    - Value F
    I have been puzzeling for a while, but cannot find the solution for this.
    THank you in advance
    Daniel

    Hi,
    1. You create the first dropdown, for example with the following entries:
        123
        456
        789
    2. You create a second dropdown which is empty.
    3. Then you have to copy the follwoing script in the change-event of the first dropdown:
    switch (xfa.event.newText)
        case "123":
            DropdownListe2.clearItems();
            DropdownListe2.addItem("Please select a value");
            DropdownListe2.addItem("456");
            DropdownListe2.addItem("789");
            DropdownListe2.selectedIndex = 0;
            break;
        case "456":
            DropdownListe2.clearItems();
            DropdownListe2.addItem("Please select a value");
            DropdownListe2.addItem("123");
            DropdownListe2.addItem("789");
            DropdownListe2.selectedIndex = 0;
            break;
        case "789":
            DropdownListe2.clearItems();
            DropdownListe2.addItem("Please select a value");
            DropdownListe2.addItem("123");
            DropdownListe2.addItem("456");
            DropdownListe2.selectedIndex = 0;
            break;
        default:
            break;
    That's all.
    In your case you  have to change "123", "345", "678" in "value 1", "value 2", "value 3".
    In the first case "value 1" you have to change in the first case "value 1": the DropdownListe2.addItem("123"); to DropdownListe2.addItem("Value A"); ...
    I hope it's helpful for you,
    kind regards,
    Mandy

  • How do I use a drop-down box to turn on a radio button?

    I have a dynamic form with a drop-down box containing selections 1, 2, 3, and 4; later in the form I have a radio button group with two radio buttons labeled "pass" and "fail".
    I would like to have drop-down selections 1 and 2 automatically select "fail" and 3 and 4 automatically select "pass" in the radio button group, with the option of the user changing this with a warning message.
    Any help is greatly appreciated.
    Thx
    Drew

    Hi,
    you can use this JavaScript in the change event of your drop down list.
    var sel = xfa.event.newText;
    RadioButtonGroup.rawValue = (sel === "1" || sel === "2") ? 1 : 2;

  • How do I use Javascript to populate a text field based on a selection from a drop down box?

    Greetings,
    I have virtually no experience with JavaScript and I am trying to figure out how to add some basic automation features to an Adobe form.  I have a drop down box called "Hospital_Name" that will contain approximately 7 possible selections.  When the user makes a selection, I would like to have the text field (called "Hospital_Address") below the drop down box populate with the corresponding address for the selection.  I have the "Hospital_Address" text field configured for multiple lines and would like the address to have a line break between the street address and the city/state/zip.
    For example, if the user selected "Hospital 1", the text field would display:
    123 Main St
    Anytown, CA 12345
    Any help or examples you can provide would be greatly appreciated.

    You have the element names within the object within brackets.
    Make sure your brackets are properly placed and matched.
    // Place all pre-population data into a single data structure
    var Location = {
    "--Hospital--":{ line1: " ", line2: " " },
    "Bellevue Medical Center":{ line1: "2500 BMC Drive", line2: "Bellevue, NE 68123" },
    "CHI Bergan Mercy":{ line1: "7500 Mercy Road", line2: "Omaha, NE 68124" }, 
    "CHI Immanuel":{ line1: "6901 N. 72nd Street", line2: "Omaha, NE 68122" }, 
    "CHI Lakeside":{ line1: "16901 Lakeside Hills Court", line2: "Omaha, NE 68130" }, 
    "CHI Midlands":{ line1: "11111 S. 84th Street", line2: "Papillion, NE 68046" },
    "Creighton University Medical Center":{ line1: "601 N. 30th Street", line2: "Omaha, NE 68131" },
    "Nebraska Medical Center":{ line1: "4400 Emile Drive", line2: "Omaha, NE 68105" }
    // some debugging code to see location names;
    console.show();console.clear():
    for(I in Location) {
    console.println(I);
    // end debugging code;
    function SetFieldValues(Hospital_Name) {
        this.getField("AddLine1").value = Location[Hospital_Name].line1;
        this.getField("AddLine2").value = Location[Hospital_Name].line2;
    This is not a beginners task but requires a fair amount of knowledge about the structure of objects, defining strings, and structure of arrays.
    Are you sure you have all the field names correctly spelled and capitalized?
    Do you get any error in the JavaScript console?
    Just trying the line that defines the "Location", I get the following error:
    SyntaxError: invalid property id
    1:Console:Exec
    undefined
    All the form field in a PDF are processed by using JavaScript and any error in any script will stop JavaScript processing.
    It might help to have a link to the problem form.
    Make sure your brackets are properly placed and matched.
    // Place all pre-population data into a single data structure
    var Location = {
    "--Hospital--":{ line1: " ", line2: " " },
    "Bellevue Medical Center":{ line1: "2500 BMC Drive", line2: "Bellevue, NE 68123" },
    "CHI Bergan Mercy":{ line1: "7500 Mercy Road", line2: "Omaha, NE 68124" }, 
    "CHI Immanuel":{ line1: "6901 N. 72nd Street", line2: "Omaha, NE 68122" }, 
    "CHI Lakeside":{ line1: "16901 Lakeside Hills Court", line2: "Omaha, NE 68130" }, 
    "CHI Midlands":{ line1: "11111 S. 84th Street", line2: "Papillion, NE 68046" },
    "Creighton University Medical Center":{ line1: "601 N. 30th Street", line2: "Omaha, NE 68131" },
    "Nebraska Medical Center":{ line1: "4400 Emile Drive", line2: "Omaha, NE 68105" }
    function SetFieldValues(Hospital_Name) {
        this.getField("AddLine1").value = Location[Hospital_Name].line1;
        this.getField("AddLine2").value = Location[Hospital_Name].line2;

  • Create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box

    HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
    I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
    Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
    Thanks,

    In the preOpen event of the second dropdown list you put something like (in formCalc):
    if (dropdown1 == 1) then
    $.clearItems()
    $.setItems("Year, 2 Year,  3 Year")
    elseif (dropdown1 == 2) then
    $.clearItems()
    $.setItems("3 Year,  4 Year")
    endif

  • How to show the selected item in a drop-down box......

    hi,
    i m using the following code for selecting from the drop-down box...
    <html:select property="lddate" style="width:160">
    <html:options collection="load_dt" name="AlmCurrencyRiskAnalysisBO" property="load_dt" labelProperty="load_dt"/>
    </html:select>
    but what happng when i m select any date from the dropdown box it does not show that date. it only shows the last entry date in the load_dt arraylist.
    i m trying to implement this on a jsp page..can anyone plz tell me what shuld i do to show selected date...plzz help..its vry urgent.........

    Vini,
    He seems to be using Struts not ADF Faces.
    Seems, you have given list to to property and labelProperty, Can you re-check these properties?
    Sireesha

  • Adding '-Select-' on top for a drop down box

    Hello,
    I have a drop down box mapped to a field in the context, the field has some domain values and are populated in the run time. but I have to add another top row '-Select-' indicating to the client that the field need to be selected.
    To add 'Select', I can write a method in the WDDOINIT method of the controller and also loop through the domain values and append to the drop down box. But I don't want to do too much of d/b interaction, as the fields are anyway loaded to the dropbox by mapping.
    Is there a way in web dynpro, that we could do like in normal ABAP reports, to Loop at the screen and identify all the drop down boxes and add a 'select' row at the top?
    I really appreciate any help.
    Thank you
    KV.

    Hi Kiran,
    Can you make your requirement more clear to me?
    As much I understand from your message is that you want to add a dynamic Text on the top of Dropdown.Like Select the field need to be selected.
    from where you will get this field information?
    what message you want to add?
    If you have the field information then
    (a)Create a textView on the top of Dropdown
    (b) Bind it's property "Text" to the context attribute say Text .
    (c) now set this value like
    wdcontext.currentcontextelement().setText("Select "+field);
    If this is not the right interpretation of your problem then please explain it in detail and tell me step by step what you want to do?
    Regards,
    Praveen

  • Multiple select options in 1 drop down box?

    Hi,
    I have created a form that works perfectly except for the fact that I need to provide multiple select options in the 1 drop down box; for example, I'm asking what product the customer is interested in and his answer could be multiple items such as Soap, Sanitizer, Hand Towels, Face Cloths etc...
    At the moment, the customer can only select 1 item not multiple.
    Is this possible?
    Thanks in advance for the help!

    Hi,
    It is not possible to allow the user to select multiple items in a dropdown list.
    You could use a list box, which does allow multiple selections.
    Good luck,
    Niall
    Assure Dynamics

  • How to capture the value selected in the drop down box

    Hi all,
    I am populating values in  drop down box by using FM vrm_set_values in module pool.
    like below
    01  ABC
    02 ACB
    03 BCA
    04 CAB
    in module pool drop down box element name is RQGM-VALUE.
    Problem is what ever the value is select in the drop down box from above element RQGM-VALUE is not filling any value.
    i need to capture the value selected in the drop down box and pass it to another variable.

    Hi,
    Refer this standard code. Your issue will be resolve.
    REPORT demo_dynpro_dropdown_listbox.
    TYPE-POOLS vrm.
    DATA: name  TYPE vrm_id,
          list  TYPE vrm_values,
          value LIKE LINE OF list.
    DATA: wa_spfli TYPE spfli,
          ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    TABLES demof4help.
    name = 'DEMOF4HELP-CONNID'.
    CALL SCREEN 100.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE init_listbox OUTPUT.
      CLEAR demof4help-connid.
      SELECT  connid cityfrom cityto deptime
        FROM  spfli
        INTO  CORRESPONDING FIELDS OF wa_spfli
       WHERE  carrid = demof4help-carrier2.
        value-key  = wa_spfli-connid.
        WRITE wa_spfli-deptime TO value-text USING EDIT MASK '__:__:__'.
        CONCATENATE value-text
                    wa_spfli-cityfrom
                    wa_spfli-cityto
                    INTO value-text SEPARATED BY space.
        APPEND value TO list.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id     = name
                values = list.
    ENDMODULE.
    MODULE user_command_100.
      save_ok = ok_code.
      CLEAR ok_code.
      IF save_ok = 'CARRIER' AND NOT demof4help-carrier2 IS INITIAL.
        LEAVE TO SCREEN 200.
      ELSE.
        SET SCREEN 100.
      ENDIF.
    ENDMODULE.
    MODULE user_command_200.
      save_ok = ok_code.
      CLEAR ok_code.
      IF save_ok = 'SELECTED'.
        MESSAGE i888(sabapdocu) WITH text-001 demof4help-carrier2
                                            demof4help-connid.
      ENDIF.
    ENDMODULE.

Maybe you are looking for

  • Production Order without Material Number and linked to a PM Order...

    Hi All, Is it possible to create a Production Order without Material Number (because it is a "just one time" production), and link it to a PM Order (enterred by a sister Plant) in order to finally report the cost to that PM Order? And if YES, how to

  • Installing Flash Player V 10.2.153.1 Via Group Policy

    Recently i tried to upgrade our existing flash player V10.2.152.32, to V 10.2.153.1 Via Group Policy. But the group policy keep failing, during the investigation phase i have enabled logging to try to troubleshoot the installation steps, and possibly

  • Output Reports in HTML

    Hey guys. Im trying to output a report a HTML file. I know this is possible because i've read a good bit over white papers talking about the functionality, but I haven't been able to find a source that details the step by step instructions on how to

  • Importing P2 card footage.

    Hi. I shot some footage on an HVX camera onto P2 cards. I offloaded the data straight onto my external drive through my mac by dragging the info. I am having trouble importing the file into final cut. I am new to final cut so any help would be great.

  • User update in Child system through CUA

    Hi, I created a role in child system and assigned it to the users in the parent system However, users are not getting updated in the child system Plz suggest