How to populate data in drop down box dynamically in adobe form?

Dear Experts.
I am new to adobe interactive form can anybody please tell me how to fill data in a drop down box dynamically? I am using webservices method.
Thanks in advance.
Chitta Ranjan Mahato
Edited by: mahato123 on Aug 5, 2011 12:16 PM

you can create a method to populate the context attribute that you are using to map to your dropdown box.
DATA: node_info TYPE REF TO if_wd_context_node_info.
DATA: it_table TYPE wdr_context_attr_value_list.
** select your dropdown data into it_table and pass it to your context attribute.
** here, mine is call PROJ_TYPE - the values should appear in your dropdown.
  node_info->set_attribute_value_set(
     name      = 'PROJ_TYPE'
     value_set = it_table ).

Similar Messages

  • How to handle Drop Down Box on Interactive Adobe Form

    Hi,
    On my adobe form there are some drop down boxes like company code, cost centre etc, actually i need F4 help on those fields,  but what i found is it's not possible to have F4 help on adobe form so i have choosen alternative as webdynpro acitvex drop down box in library. I have written a web dynpro application to fetch the data and display it on adobe interactive form, i could able to display the data for all the fields on adobe form except these drop down boxes, can any body suggest me how to handle these drop down boxes in webdynpro application. Your help will be greatly appreciated.
    Thansk & Regards,
    Venkat

    Hi Venkat,
    As you are using the WDP ActiveX dropdown in your form, it is fine but to populate values in the DD, you need to bind the context attribute with a simpletype and then populate the values. Use the below code to obtain a ModifiableSimple Type:
    IWDAttributeInfo abcInfo = wdContext.nodeABC().getNodeInfo().getAttribute("AttributeName");
                        ISimpleTypeModifiable def = abcInfo.getModifiableSimpleType();
                        IModifiableSimpleValueSet abcValueSet = def.getSVServices().getModifiableSimpleValueSet();
    and after this put te values in the obtained modifieable simple type like below:
    abcValueSet.put(key,value);
    where key may be the ID and value may be the name to be displayed in DD.
    Reward points if found helpful.
    Regards,
    Arafat

  • This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left.

    This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left of each drop down.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • How do I disable the drop down box which appears below the Search Box (which shows previous searches) when I start typing in my search topic

    Hi I would like to know how to disable the drop down box which appears below the search box on the start page when I start to type in my search topic. If for example the first letter I type in is an S then it shows a list of previous searches of sites beginning with the letter S.

    This is stored in the Firefox form history. For details of how to clear form history and prevent Firefox from storing any more form history see https://support.mozilla.com/kb/Form+autocomplete

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

  • My drop-down list won't appear anymore so every time I want to go to a new site I have to type it in where before my drop-down box would appear and I could just click it and hit search and go there how do I make my drop-down box come back

    somehow I must've clicked a button that took away my drop down box when I go to use my Google search so different sites that I go to a lot I would always just click it when the drop-down box came up I would click again and hit search and you would bring that page up but even if I go to a site once I leave that I try to click and make the drop-down box come up again with the new search and it nothing happens so the problem is I need my drop down box to come back up to all the places that I visit kind of like a history of like I said I would just click and it would come up by itself now the drop-down box won't come up anymore so I need somebody to tell me what to do to bring my drop-down box back also I am new to computers so I don't know a lot so don't be real technical thanks for the help merry Christmas from Joe

    It's not a matter of me assuming to restore it, once the error comes up, the only next step I can do is to restore it. I can't access any of the iphones settings in itunes or anything, it's a mandatory restore. If I just cancel the sync (before restoring) and disconnect the phone, all my apps crash on opening: aka unusable phone. So I have literally no choice but to restore every time the error shows up if I want my phone to work.
    I have no idea where I may have duplicate files as it doesn't tell me, so if that is the problem (which I don't think it is) then I don't know where I have to go to delete the duplicates.
    And the duplicate file error still doesn't explain why leaving iTunes to restore the phone doesn't work and me having to drag the window around. I know it sounds utterly ridiculous, my friend didn't believe me when I told him either but then I showed him and he was as confused as I am. If I just leave the restore to do its own thing at it's own pace, it will loa maybe 20% then fail for whatever reason.

  • How to get at Colour drop down box for simple shape ?

    Hi,
    If I go new file, Insert Symbol, Movie Clip, then draw a
    circle and a line using those two tools, I am unable to get the
    colour drop down box to show so that I can select Alpha. I have
    managed to do this many times for an imported to library graphic
    from Freehand, one simply clicks on the graphics line after the
    graphic has been drag/dropped to stage, go properties and the
    Colour drop down list from where you select the word Alpha appears.
    I have tried a single click, a double click, a treble click,
    just cant see that dropdown box for simple shapes !
    Help
    Envirographics

    Hi,
    If I go new file, Insert Symbol, Movie Clip, then draw a
    circle and a line using those two tools, I am unable to get the
    colour drop down box to show so that I can select Alpha. I have
    managed to do this many times for an imported to library graphic
    from Freehand, one simply clicks on the graphics line after the
    graphic has been drag/dropped to stage, go properties and the
    Colour drop down list from where you select the word Alpha appears.
    I have tried a single click, a double click, a treble click,
    just cant see that dropdown box for simple shapes !
    Help
    Envirographics

  • Creating a dependent drop down box in an interactive form?

    Hello -
    I'm pretty new to Acrobat and not fluent with JS (I'm a chemist), so please forgive me if this seems a silly question:
    I'd like to create a form wherein there are two drop down boxes and the choices seen in the second of the two are dependent upon the choice made in the first. An example of such might be a list of departments in the first field and a list of staff in the selected depertment in the second field.
    I'm using Acrobat ver 7.0 (Pro) with Designer, by the way.
    I've been able to do this in Excel through use of validation functions, but I'd like to get away from Excel if at all possible.
    Thanks very much in advance!
    Chris

    To keep the department/cities sample; i'll try to explain you how i did it in Designer:
    I created a "variable" bloc (at the bottom of the Hierarchy tab) called Cities
    An other one called Departments
    A last called CitiesFunctions
    In the Cities bloc, i declared an array with all cities.
    In the Department bloc, I declared an array by department. In each array, i have 2 items : the index of the first city of the department in the cities tab and the index of the last city of the department in the cities tab.
    On my form, I created a dropDownList called Department (populated with departments) and an other called cities initialized empty.
    On Department change event:
    I rase the cities field.
    I call my function getCitiesByDpt in my CitiesFunctions bloc with the department in parameter.
    In these function I call the array corresponding to the department in the Cities bloc and I populate my listBox cities by the results (tab of cities from parameter 1 to parameter 2 of my Department array).
    Carrefull : if a list has too much items, you should create a "manual list" composed of 1 textField, 1 button, 1 listBox (it's better for performance)
    After than, always by script, you can restrict you second list by the sequence of characters eventualy keyed in the field Cities.
    I hope i'm a little beat clear ! it's hard to explain in a forum (and sorry for my french english...:))
    Pierre.

  • Why form is creating a "memory" drop-down box in the PDF Form

    I have created a form for someone using Adobe Acrobat CS4. While this doesn't happen when I use it on my computer, or even my work computer, apparently one of the end users, as they enter data into the form, it remembers previous information she had entered and gives her like a "memory" drop down box. She doesn't want that. How can I format it so it doesn't do that? Thank you.

    Edit > Preferences > Forms > Turn Auto-Complete off

  • Reading the drop down value in interactive adobe forms in WDJ

    Hi,
    I have a scenario like this:
    Drop down menu with values being populated from model . when i select the value from drop down and update the backend with that value, it is not done. It always takes the same value ( first one in the drop down list) and fails to take the selected value.
    could anybody throw some light as how to deal with the drop down in adobe forms in WebDynpro Java?
    Are there any specific settings for these?
    I have taken the drop down menu from WebDynpro Native library.
    Kind Regards,
    Charan.

    Hi Charan,
    Did u try to populate the data into the dropdown with the help of Simple types.
    I faced the same issue, that got resolved when i binded the dropdown with Simple types that were populated.
    Hope this helps.
    Thanks,
    Amita

  • How to populate ADF Faces Drop Down without Errors?

    Hi,
    I have a drop down in ADF Faces which gets populated when a value is selected in another drop down. And its mandatory that we need to select both the values from the drop down. Hence i have used the attribute 'required' and set it to 'true'. The code snippet is here.
    <af:selectOneChoice styleClass="selectOneClass" unselectedLabel="Pick One" inlineStyle="width:250px" accessKey="S" label="Site" id="siteDrop" disabled="false" rendered="true" required="true"
    requiredMessageDetail="Select a Value" value="#{QualityEvalBean.sites}"
    valueChangeListener="#{QualityEvalBean.siteValueChange}" autoSubmit="true" immediate="true">
    <f:selectItems value="#{QualityEvalBean.siteslist}"/>
    <!--f:selectItem itemLabel="White Field" itemValue="LEVEL4"/-->
    </af:selectOneChoice>
    <af:selectOneChoice inlineStyle="width:250px" unselectedLabel="Pick One" accessKey="T" label="Transaction Type" id="transDrop" rendered="true"
    partialTriggers="siteDrop" immediate="true" required="true" value="#{QualityEvalBean.transactionType}">
    <f:selectItems value="#{QualityEvalBean.transactionTypeList}"/>
    </af:selectOneChoice>
    While picking the value from the first drop down the second drop down is also getting validated and its giving a red colored icon beside the second drop down. There are absolutely no issues in case of populating the values in the second drop down.
    Please help me in this regard.
    Thanks
    Rahul Uday

    you can create a method to populate the context attribute that you are using to map to your dropdown box.
    DATA: node_info TYPE REF TO if_wd_context_node_info.
    DATA: it_table TYPE wdr_context_attr_value_list.
    ** select your dropdown data into it_table and pass it to your context attribute.
    ** here, mine is call PROJ_TYPE - the values should appear in your dropdown.
      node_info->set_attribute_value_set(
         name      = 'PROJ_TYPE'
         value_set = it_table ).

  • How to filter selection in drop down box in Report Builder 3.0

    New to SQL reporting services -
    what is the syntax for filtering the drop down list in Report Builder 3.0? 
    I have the following:  =Parameters!ReportParameter1.value   and =Fields!Store.value 
    my drop down shows the project name numerous times rather than just once.

    New to SQL reporting services -
    what is the syntax for filtering the drop down list in Report Builder 3.0? 
    I have the following:  =Parameters!ReportParameter1.value   and =Fields!Store.value 
    my drop down shows the project name numerous times rather than just once.
    Hi ,
    If I understood your requirement clearly then you need distinct value in Parameter list.
    In this case you need to select a distinct record in dataset that will be further used as Parameter input.
    Lets say your pameter accept value from dataset1;
    select 'Project1' pp
    union all
    select 'Project1'
    union all
    select 'Project1'
    union all
    select 'Project2'
    union all
    select 'Project2'
    union all
    select 'Project3'
    so in this case your report parameter will show.
    By selecting distinct record  you will get ;
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • Value drop down list control in ADOBE Form

    We are on SP16 currently. We are developing an ADOBE interactive online
    form using ABAP WebDynpro.
    To display search help of a few fields like Vendor Number, G/L Account
    Number, Cost Center, we are using 'Value Help Drop Down List' control
    availalbe in WebDynpro Native group.
    After the form gets loaded on the broswer, first time the search help
    control works absolutely fine for any of the field. But only once. Once
    one search help gets displayed, none of the other search value drop
    down control gets clicked. But please note that normal drop down (with
    fixed values) gets clicked and allows to choose any entry from it. It
    also allows to enter values into other text box controls. Only Search
    Value Drop Down list stops working.
    For Example: We have 2 search help drop down list controls (one for
    LIFNR and another for WERKS) and 1 drop down list control (Fixed Values
    to be displayed for selection).
    After form gets displayed on ABAP WebDynpro, if we click on LIFNR, the
    search help for LIFNR will come and it will allow to select vendor
    number from it. But after that, it doesn't allow to select WERKS nor
    even to LIFNR. If we click on WERKS first, it will work perfactly fine
    but then, it will not allow LIFNR or WERKS after that. In any of the
    case, it will always allow to select the values from Fixed Value Drop
    down list.
    Please note that we dont have SAP Portal into the landscape.
    Is there any bug in the control?
    Please provide the solution ASAP.

    Hi Reema,
    We are using ZCI type of form. So, I dont think there is any need to run the report for ZCI_Update.
    And the display type of Interactive Form in ABAP WebDynpro is 'NATIVE' which is the same we dragged the control from (WebDynpro Native).
    Is there any work around to display search helps on ADOBE Interactive forms apart of this control?
    Appreciate your quick answer.
    Thanks & Regardss,
    Sandip Kamdar

  • How do you link a drop down box to display content in read only field?

    For starters, I am a super novice at javascript, and I'm being asked to make some huge forms.
    For this form, I need to figure out how to display a corresponding description that I have typed up when a certain product is chosen in the read-only description field. Not only this, but the price of the product needs to also show up in the read-only price section. There are five different products to choose from.
    This has to be some big coding. I just don't have any javascript knowledge and it really confuses the heck out of me. :c
    Any help would be amazing. I don't want to have to abandon this project.

    For a text value you have to use a custom JavasScript. Where you place it and the code will depend upon when you want the value of the text field to change and how you have populated your combo boxes.

  • How to populate data from table into Radio button group in Form 10g

    Hi,
    I have a table with 2 columns, i.e. criteria and weight.
    The weight column will contain either 5 or 4 or 3.
    I want to design a form (10g) as follows:
    CRITERIA----------------------------WEIGHT------------------
    ------------------------HIGH----------MEDIUM-------------LOW
    Cost-------------------o
    Duration-------------------------------o
    Maintenance-------------------------o
    If the criteria contains 5, it will show as HIGH, MEDIUM for 4, LOW for 3.
    Do I need one radio group for each CRITERIA column?
    How can I populate the table and display as above programatically in the form?
    Edited by: srtusar on 26-Mar-2009 04:49
    Edited by: srtusar on 26-Mar-2009 06:48

    Not exactly. I want to enter input from form and the user can have all options to choose i.e. HIGH, MEDIUM or so on.
    Suppose, you have option to select HIGH, MEDIUM or LOW and you can see all these options together. You select LOW and when you save, it is saves in the table as a value. So when you view the table again, it will show LOW as active and HIGH and MEDIUM are null.

Maybe you are looking for