Filling Drop down in Adobe forms

Hi experts,
  I am developing a new Adobe form.In that I am using a table,the table consist of three drop downs in each row.
My requirements are
1. I want to fill the three drop downs.Guide me in that..
2. How to capture the value selected in first dropdown...
2. Based on the value selected in first dropdown I want to set the remaining two dropdowns.
I am using AdobeDesigner 7.1.
Please help me to achive this ....
Thanks&Regards,
Mathi.

Hi Mathi,
Answers to your questions:
1. To fill the drop down select the drop down you want to fill and go to the Object palette, choose field tab and there would be an option list item press the icon button and the value you want. Similarly use button to remove the values.
2. To use the values outside the form bind the drop down to a attribute from the data source.
3. To use inside to set values of the remaining drop downs use the following code at the exit event of the first drop down.
if (a.rawValue == 'a' )
     b.rawValue = 'f';
     c.rawValue = 'h';
here i have supposed that a, b, c are three dropdowns.
a has values : a,b,c.
and b has values : d,e,f.
and c has values : g,h,i.
To write this code in the exit event of the first drop down(a) select it and in the script editor choose exit event.
To show script editor go to windows in the menu and choose script editor.
I hope it will be helpful.
Regards,
Vaibhav Tiwari.

Similar Messages

  • Drop Downs in adobe forms using Web dynpro ABAP

    Hi all,
    Im new to this adobe forms using webdynpro abap.
    In my requirement i have two drop downs on the form.
    by selecting value in one drop down i have to fill corresponding values in the other drop down.
    Using only WDA i know how to do this but with adobe i dnt know how and where i have
    to catch the drop down value and write my code. please let me know how i can achieve this.
    one more thing whatever action or events we are performing on the form where we have to place our code for this?
    Thanks,
    santosh

    hope this helps -
    [Thread: Populating one Drop-Down list from the selection of another Drop-down list |Populating one Drop-Down list from the selection of another Drop-down list;

  • Filling drop down in Interactive forms by ABAP

    Hi experts,
      I am new to Adobe forms.I am working on a form using SFP transaction, which consist of a table.In that table I have a dropdown
    as a column.I want to fill the dropdown with values from a DB table.
    I am working on pure ABAP.
    Can any one help me to achive this,with step by step procedures...
    Thanks&Regards,
    Hans.

    Hello Hans,
    You might want to use "dynamic properties". With that you can populate the dropw-down list from the data contained in the form.
    In Designer under Extras->Options you can find an entry for Binding. Check "show dynamic properties".
    If you now go back to your DDL field on the form and look at the Object - Field tab you can see that "list elements" is a link. Click on this link and a dialog for specifying a data binding for the DDL items shows up. How to do it is straight forward: Just select the node where the data can be found and specify which nodes contain the key value and the display text.
    It is very helpful if the content of the DDL is in a table like structure
    Regards,
    Juergen

  • Reg: The Drop down in Adobe form

    Hi All,
           I am using a Adobe form [PDF] with 2 Drop Down's say DD1 [values:1,2,3] and DD2 [values a,b,c],
    Requirment is:
    When i select a value say "1" in DD1, DD2 should be "readOnly" and value should  be "a" only.
    When any value other then "1" is selected in DD1, DD2 should remain as Selectable to the user.
    Solution i tried: Using script i made DD2 as "readOnly" when DD1 is "1", which makes DD2 as i/p field - not editable, but the problem is if user selects the another value after selecting "1" in DD1, DD2 remains a i/p field and no values is shown to the user, even though i made it as "readWrite".
    Please help me.
    Thanks & regards
    Nagaraju

    Hi,
    Have a workaround to hide and display the fields like You should have two UI's for DD1 one is input field disabled with value "a" and the other is DropDown enabled, now what you do is when you select "1" in DD1 make the visibility of Input field true and when you select the other values in DD1 hide the Input field and make visible the Dropdown.
    Regards
    Raghu

  • Does anyone know how to get one drop down populate multiple drop downs in adobe form not live cycle!

    I have one drop down that when value selected another drop down is filled with list of choices, and then one of those choices is made another drop down should be populated with some choices.
    ish

    Hi zach317,
    Thank you for visiting the HP Support Forums.  As stated in the thread you have cited, the purpose of this forum is to give feedback or make suggestions on ways to improve the forums.  Should you have feedback on other issues, please contact HP directly using this link.  This is a user-to-user forum, so you'll have to use this link for direct assistance from HP.
    Many members of the community are extremely knowledgable. If you're having an issue you believe the other users in the community may be able to assist you with, please feel free to find the appropriate forum and post your question there. 
    Should you have any further questions or concerns, you can send a Private Message to me or another moderator or admin at any time.
    Thank you!
    Message Edited by SandyD on 11-22-2008 03:03 AM
    Clicking the "Kudos star" to the left is a great way to say thanks!
    When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!
    Rules of Participation

  • Filling dynamic drop down in adobe interactive form( webdynpro ABAP)

    HI all,
    Im new in Webdynpro ABAP, my requirement is to fill drop down list in adobe interactive form. i created adobe form and its working fine.
    I Created context like ROOT(cardinality 1:1)->DATANODE cardinality 0:n. This context is for drop down and in wddoinit i did  like this.
      IN WDDOINIT ,
    DATA lo_nd_root TYPE REF TO if_wd_context_node.
      DATA lo_nd_datanode TYPE REF TO if_wd_context_node.
      DATA lo_el_datanode TYPE REF TO if_wd_context_element.
      DATA ls_datanode TYPE wd_this->elements_datanode.
    navigate from <CONTEXT> to <ROOT> via lead selection
      lo_nd_root = wd_context->get_child_node( name = wd_this->wdctx_root ).
    navigate from <ROOT> to <DATANODE> via lead selection
      lo_nd_datanode = lo_nd_root->get_child_node( name = wd_this->wdctx_datanode ).
    get element via lead selection
      lo_el_datanode = lo_nd_datanode->get_element(  ).
    ls_datanode[] = lt_dna_value[].
    CALL METHOD lo_nd_datanode->bind_table
      EXPORTING
        new_items            =  ls_datanode
        set_initial_elements = ABAP_TRUE.
       index                =
    while executing  i'm getting this error ": WebDynpro Exception: ADS: com.adobe.ProcessingException: No output was generated while rendering: Stream for: PDFOut.(200,101). " . can u please tell me how to bind value for drop down.
    I created sample table in same form and i binded same value to table, that time its executing fine.
    can u please tell me solution for this Scenario.
    Thanks
    Hemachandran.
    Edited by: hemachandran R on Sep 12, 2008 2:27 PM

    hi,
    My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.
    i populated the value in drop down.
    Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row
    im getting different values, like first row
    CAR
    , that CAR want to fill as a default value in drop down  and second row  as
    BIKE
    that BIKE  want to fill as default value in drop down  ( example drop down contain   car , bike , cycle).
    In adobe form i binded like this
      $record.DATANODE.DATA[*].DNA_RATING
    i dont know whether this one is correct or wrong  .
    im getting default value as empty.
    please give me some solution how to do this.its very urgent
    thanks
    hemachandran.

  • How to fill dropdown list in Adobe form

    Hi Experts,
                  I am new to adobe form.Please tell me ,how to fill drop down list in adobe form?
    Thanks,
    Hans

    Hello Arafat,
    I am using a drop down list in Adobe Interactive Form for Web Dynpro ABAP.
    The form is of ZCI type layout and the form interface is of XML schema-based interface type and the XML schema source is set to "Generated".
    I have included the following code in WDDOINIT method of the view:
    data: handle1 type ref to if_wd_context_node,
    begin of zstruct,
    zktokd type kna1-ktokd,
    end of zstruct,
    zitab type table of zsttxecr.
    handle1 = wd_context->get_child_node( name = 'DATA.NODE1' ).
    select ktokd from kna1 into corresponding fields of zstruct.
    append zstruct to zitab.
    endselect.
    handle1->bind_table( new_items = zitab ).
    In the Adobe Form Designer, i have binded the node NODE1 to the enumerated drop down list from native web dynpro library. Still the drop down box is not getting populated.
    Please let me know what is missing.
    Thanks and Regards.

  • Is it possible to create a drop down menu using form fields rather than text?

    Is it possible to create a drop down menu using form fields rather than text?

    Yes, correct - values of form fields. If one is blank, then the field would be blank - yes? If two or more have the same value that is fine.
    A standard dropdown ... As shown here. If there is an easier way to do this, I'd love to hear your suggestions. Thank you!

  • Fill Drop down list in Interactive form

    Hello.
    I am trying to display multiple values form the context of an form, so not web dynpro! I am using a valuelist object for that.
    When I test the form I am only getting to see the first value of my internal table and the drop down list cannot be expanded.
    If I analyse the XML I see that the items are there which I want to display.
    What is the cause of this, or is this only possible with Interactive form in an Web dynpro scenario (I hope not)
    Regards,
    Harrie Prinsen

    Hi Harrie,
    As per this post, I understand that you are going to use a simple ADOBE PRINT FORM which fetches data from ECC and displays it in the form...Am I right?
    See, if it is going to be a Simple PRINT FORM which is NON-INTERACTIVE in nature, I dont see the need of DROP DOWN LIST in this scenario. I think that could be the reason why always the first item of the INTERNAL TABLE is displayed all the time.
    If you have an INTERACTIVE SCENARIO where the user can select an option from the drop-down, then you can go with ABAP WD/JAVA WD/ISR Adobe Interactive Forms.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Filtering Drop-down Values Adobe Interactive Form

    Hi,
    I am working on adobe interactive form, in which I have a normal drop-down. Now the requirement is, depending on the value of another field (country) , I need to display only the states pertaining to the country being displayed. In my drop-down I get a list of all states irrespective of the country.
    I have created an Interactive Adobe form using WebDynpro ABAP. I have populated the view context in my business logic and I am using this context to populate my drop-down. I have a root node named as NODE_ROOT which is of cardinality 1:1 and a child node named as NODE_STATE of cardinality 0:n with State, State_Desc and CountryID as its attributes.
    In my drop-down list I have mapped the Item to $record.NODE_STATE.DATA[*], Item_text to the attribute State and Item_Value to the Attribute State_Desc. I have also enabled the "Show Dynamic Binding" option from Tools->Options->Data Binding.
    The Drop-down is working fine. I would like to filter these values based on country by making use of CountryID in my form. Is it possible through scripting? If so, how do I do it?
    Sample code would be of great help.
    Thanks,
    Anusha

    To The viewers of the forum, By mistake I posted the same question twice. Please discard this one.

  • Fill Dropdown list in Adobe forms

    Hi friends,
               I am using SFP transaction.I have two requirements.
                   1. How to fill dropdown list without java script or formcalc.
                   2. I have 2 dropdowns .If i select first dropdown,it will be populate another dropdown based on first drop down selection in the same form.
    Can you please help me?
    Thanks.
    Hans

    Which technology are you using Web Dynpro Java / ABAP? In both cases you can do the stuff in your backend i.e. the BAPI which you may be calling to dipslay just the material numbers, ask the ABAPer to change it so that it returns "Mat No  - Mat Desc" and not just Material No for e.g. 01000000001 - Material 1, 010000002 - Material 2 and so on.
    Bind it to the drop-down in your Adobe form and it should display the description in your Interactive form drop-down list only. So you do not need an additional field and trigger seperate events.
    Chintan

  • Dependend drop-down in PDF form

    I thought this would be easy, but the tutorial I'm following is way more complicated than what I'm building, so I'm getting lost.
    I'm making a form that has two dropdown lists, and the items in the second one need to depend on what was selected in the first one.
    My first dropdown has three selections, and I've written a list of dependent selections formatted like this:
    var TopicLink = {
        Planning:[
            ["-","None"],
                    ["Border planning"],["border_planning"],
                    ["Census issues"],["census_issues"],
                    ["Citizens Guide"],["citizens_guide"],
                    ["Congestion Management Process"],["congestion_management_process"],
                    ["Csstp"],["csstp"],
                    ["Delta Region"],["delta_region"],
                    ["Economic Development"],["economic_development"],
    For each of the three items.
    I've pasted this into Other Tasks, Javascripts, Document Javascripts (Acrobat X), but when I right click on my second drop-down and pick the Actions Tab (On Focus, Run a Javascript), my JS doesn't appear on the list.
    This is my first time touching a PDF form other than to fill one out.  What am I doing wrong?

    Thanks George,
    While working on this, I stumbled across a copy of LiveCycle ES2 that I didn't know I had installed in this machine.  For some reason I was able to figure things out much more easily in this program, so I managed to get it working without much issue.
    Thanks for the reply!

  • Muse drop down option in form widget

    Hi, I'm looking for help in the form widget. I've created a form and I need to provide a drop down option for one of the fields. Is there a way I can do it in Muse? Can anyone help me??

    Hi
    With Native Muse form widget we cannot include drop downs but if using Business Catalyst you can insert the form with drop downs and then use in Muse.
    Please refer to this post :
    http://forums.adobe.com/message/6100050#6100050
    Thanks,
    Sanjit

  • Down load adobe form in text documnet

    Hi Experts,
    I want to downlaod the adobe form in text document..
    Depending upon the certain conditions i want to download the form or print it.
    I am able to print it by using print program.
    However I am not able to download it
    Please advice.
    I have also found out one fm EFG_FORM_DOWNLOAD but not able to use it.

    Hi Liem,
    Use the follwing code to change color:
    if ( <Fieldname>.rawValue > 500 ) then
    <Fieldname>.caption.font.fill.color.value = "200,10,10"
    endif
    Here <Fieldname> is assumed to be the field for which you want to change the colour. suppose the value for it is greater than 500 it will become red and for values less than 500 it will be the default colour or you set in its properties.
    Hope it will be helpful.
    Regards,
    Vaibhav Tiwari.

  • Designing Searchable drop downs in LC form designing

    Hi,
    I want to design an eform which has a searchable drop down box. That
    is as someone types in the required contents into the dropdown the
    displayed contents of the drop down should shrink.It should have the
    search feature  in google search(as we type in the result set keeps showing and we can choose from there). If someone knows how to
    incorporate this searchable feature into the drop downs while
    designing the form, please help. An example to show the way in which
    it can be implemented would be really helpful.
    Thanks,
    Sayoni.

    Hi Sayoni,
    This is just part of the xml file I uploaded but should give you enough to get the sample working.
    Hope it helps
    Bruce
    <?xml version="1.0" encoding="UTF-8" ?>
    <countries>
    <country id="AF" name="AFGHANISTAN" />
    <country id="AX" name="ÅLAND ISLANDS" />
    <country id="AL" name="ALBANIA" />
    <country id="DZ" name="ALGERIA" />
    <country id="AS" name="AMERICAN SAMOA" />
    <country id="AD" name="ANDORRA" />
    <country id="AO" name="ANGOLA" />
    <country id="AI" name="ANGUILLA" />
    <country id="AQ" name="ANTARCTICA" />
    <country id="AG" name="ANTIGUA AND BARBUDA" />
    <country id="AR" name="ARGENTINA" />
    <country id="AM" name="ARMENIA" />
    <country id="AW" name="ARUBA" />
    <country id="AU" name="AUSTRALIA" />
    <country id="AT" name="AUSTRIA" />
    <country id="AZ" name="AZERBAIJAN" />
    <country id="BS" name="BAHAMAS" />
    <country id="BH" name="BAHRAIN" />
    <country id="BD" name="BANGLADESH" />
    <country id="BB" name="BARBADOS" />
    <country id="BY" name="BELARUS" />
    <country id="BE" name="BELGIUM" />
    <country id="BZ" name="BELIZE" />
    <country id="BJ" name="BENIN" />
    <country id="BM" name="BERMUDA" />
    <country id="BT" name="BHUTAN" />
    <country id="BO" name="BOLIVIA, PLURINATIONAL STATE OF" />
    <country id="BA" name="BOSNIA AND HERZEGOVINA" />
    <country id="BW" name="BOTSWANA" />
    <country id="BV" name="BOUVET ISLAND" />
    <country id="BR" name="BRAZIL" />
    <country id="IO" name="BRITISH INDIAN OCEAN TERRITORY" />
    <country id="BN" name="BRUNEI DARUSSALAM" />
    <country id="BG" name="BULGARIA" />
    <country id="BF" name="BURKINA FASO" />
    <country id="BI" name="BURUNDI" />
    <country id="KH" name="CAMBODIA" />
    <country id="CM" name="CAMEROON" />
    <country id="CA" name="CANADA" />
    <country id="CV" name="CAPE VERDE" />
    <country id="KY" name="CAYMAN ISLANDS" />
    <country id="CF" name="CENTRAL AFRICAN REPUBLIC" />
    <country id="TD" name="CHAD" />
    <country id="CL" name="CHILE" />
    <country id="CN" name="CHINA" />
    <country id="CX" name="CHRISTMAS ISLAND" />
    <country id="CC" name="COCOS (KEELING) ISLANDS" />
    <country id="CO" name="COLOMBIA" />
    <country id="KM" name="COMOROS" />
    <country id="CG" name="CONGO" />
    <country id="CD" name="CONGO, THE DEMOCRATIC REPUBLIC OF THE" />
    <country id="CK" name="COOK ISLANDS" />
    <country id="CR" name="COSTA RICA" />
    <country id="CI" name="CÔTE D'IVOIRE" />
    <country id="HR" name="CROATIA" />
    <country id="CU" name="CUBA" />
    <country id="CY" name="CYPRUS" />
    <country id="CZ" name="CZECH REPUBLIC" />
    <country id="DK" name="DENMARK" />
    <country id="DJ" name="DJIBOUTI" />
    <country id="DM" name="DOMINICA" />
    <country id="DO" name="DOMINICAN REPUBLIC" />
    </countries>

Maybe you are looking for