Related Drop-down boxes - unique validation

Someone sent me a acroform, which has different sections that contain drop-down controls.   Each drop-down has the options 1,2,3,4,5.  These are supposed to be used to rank preferences.  Is there a way where once you select "1" you are not allowed to choose it again in the remaining 4 drop-down boxes?  I cannot find this anywhere in teh Acrobat PDF bible, albeit an older version.
regards,
Nat

We can do this with power of JavaScript. I would use the substring function in loading the values to dropdown.
for example I will have code similar to the following on DropDown1 'exit' event
var FilterChar =  this.rawValue;
var DD2AllValues = "A1,A2,A3,a1,a2,a3,B1,B2,B3,b1,b2,b3,C1,C2,C3,c1,c2,c3";
DD2AllValues = DD2AllValues.split(",");
DropDown2.clearItems()
var curItem
var curChar
for (i=0,i<DD2AllValues.length,i++) {
     curItem = DD2AllValues[0];
     curChar = DD2AllValues.substring(0,1)
     if (curChar == FilterChar) {
          DropDown2.addItem(curItem);
hope this helps though you have to change a lot to make it work for your situation.
Good luck,

Similar Messages

  • How do I create hyperlinks in drop-down box....  (see details)

    I'm creating a form that will be used as an employee performance review.  On page one of the form, I'd like to insert a drop-down box titled "JOB TITLE" and there will be approx 10 different job titles in the list that the VP can select from.  Depending on the job title that the VP selects, I'd like a hyperlink that takes him to a new page within the pdf document.
    For example, the VP is going to complete a performance review for a "General Mgr" on his/her team.  He selects "General Mgr" from the drop down list in the "Job Title" box, and when he does, a new page opens that has questions related to the job responsibilities of a "General Mgr".  If the VP had selected a different Job Title, such as "Area Mgr", then a different page would have opened up with questions related to the job of an Area Mgr, which would be different than a Gen Mgr.
    Can anyone assist me with this?

    Hi,
    Here are some resources that you might find helpful:
    http://www.adobe.com/go/learn_lc_scriptingBasics
    http://www.adobe.com/go/learn_lc_scriptingReference
    http://www.adobe.com/go/learn_lc_formCalc
    http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_M odel_Refer ence.pdf
    http://www.adobe.com/devnet/acrobat/pdfs/lc_migrating_acrobat_xmlform. pdf
    And a very handy resource (and while it is for version 6 it is still very good because of the way it is laid out):http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
    The help file also helps with syntax and LC Designer comes with templates/examples.
    Lastly, check out the Developer's Network on http://www.adobe.com/devnet/livecycle/
    In the sample the script is in the exit event of the dropdown. You can view the script by selecting the dropdown, which is on the Master Page and viewing the script editor at the top of the workspace. If the script editor is not open, you can open it from the Windows menu. By default it is only one line high, so I would recommend dragging the bottom bar so that you see a good few lines. You can view different events in the script editor and set the language.
    Also if you look at the dropdown you can see in the Object > Field tab that I have set the values that are displayed in the dropdown and in the Object > Bindings I have not specified bound values, so I can use the display values in the script.
    In the hierarchy I have named each of the pages with a unique name (eg appendixAdmin), that is also used in the script.
    I hope that helps,
    Niall

  • Creating cascading drop down boxes in SharePoint 2010 using one list

    We have a support request form tied to a list that end users input data into which when submitted sends out an email.
    Is it possible to create a drop down box on the form that limits the choices in the "subcategory" column, based on what is chosen in the "category" column.  
    For instance in the category column we have SharePoint, Oracle, and Web Tools as choices. 
    In the subcategory column we have items related to each category. We only want items that are related to the selected choice to appear in the subcategory drop down box. 
    I see examples in InfoPath using "Multiple Lists" (one list for city, one for state, etc), but nothing using the same list.  I would rather not use multiple lists if possible. 
    Anyone have any ideas?  Thanks.

    Hi,
    According to your post, you want to create a cascading drop-down list box using one list.
    To achieve what you want, we can:
    Create two fields(category and subcategory) in drop-down list box type in the form in InfoPath.
    Add the list which contains the values of the category and subcategory columns to the form as an external data.
    Right click the category field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
    Choose the list added in step2 in Data source, click XPath behind Entries, click the category column in the list, select Show only entries with unique display names.
    Right click the subcategory field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
    Choose the list added in step2 in Data source, click XPath behind Entries, click the subcategory column in the list, then click Filter Data.
    Click Add, select the category column in the list in the first box, select is equal to in the second box, choose select  a field or group in the third box, then choose Main in the Fields and select the category field in the form.
    Click OK.
    Best regards.
    Thanks

  • How to set default value for drop down box in jsf

    Hi,
    Can anyone help me to set the default value in drop down box using <af:selectManyChoice> ?
    As I know there is an unselectedLabel attribute in <af:selectOneChoice> but not valid attribute for <af:selectManyChoice>.
    Any help must be appreciated.
    Regards,
    AK

    Hi Frank
    My entity type is a List in managed bean. I have set the entityType in the constructor of the managed bean. I have attached my code here.
    TPSearchCriteriaBean.java****************************************
    /** Constructor */
    public TPSearchCriteriaBean() {
    super();
    entityType=new ArrayList<String>();
    entityType.add(UIConstants.LIST_ITEM_ALL);
    authorizationType=new ArrayList<String>();
    authorizationType.add(UIConstants.LIST_ITEM_ALL);
    companyType=new ArrayList<String>();
    companyType.add(UIConstants.LIST_ITEM_ALL);
    mrgStatus=new ArrayList<String>();
    mrgStatus.add(UIConstants.LIST_ITEM_ALL);
    legalStatus=new ArrayList<String>();
    setEntityType(entityType);
    setAuthorizationType(authorizationType);
    setCompanyType(companyType);
    setMrgStatus(mrgStatus);
    country = "0";
    //address = new AddressBean();
    UIConstants.java***********************************************************
    public static final String LIST_ITEM_DEFAULT = "select";
    public static final String LIST_ITEM_ALL = "0";
    LOVManager.java*****************************************************************
    public List<SelectItem> getLovList(String lovType, boolean requiredOption_SELECT, boolean requiredOption_ALL)
    log.debug("LOV loading for " + lovType + ": START");
    List<SelectItem> lovList = new ArrayList<SelectItem>();
    //check validity of lov loading request
    validLov:
    for (int i = 0; i < lovTypeArray.length; i++)
    if (lovTypeArray.equals(lovType))
    break validLov;
    log.debug("ERROR: LOV Type not valid.");
    return lovList;
    //First select is replaced by ALL here
    //<-- Select --> should be an option
    if (requiredOption_SELECT)
    lovList.add(new SelectItem(UIConstants.LIST_ITEM_DEFAULT, "--Select--"));
    LOVDao dao = new LOVDao();
    dao.loadLOVValues(lovType, lovList);
    log.debug("LOV Loading successful!");
    //<ALL> should be an option
    if (requiredOption_ALL)
    lovList.add(new SelectItem( UIConstants.LIST_ITEM_ALL, "ALL"));
    return lovList;
    Kindly help me.
    Regards,
    AK

  • Advice needed on the Drop-down box description.

    There are lots of postings on how to get the drop-down box working and there's even a How-to guide called Dropdown boxes. However, I have a field (defined using the AET tool) which has an Search help assigned, so the drop-down list is automatically displayed for me. Having said that I'm still bemused as to how it works as there's no code in the P and V Getter methods.
    Anyway, that aside, the dropdown box is working fine, as mentioned, but I also have the description field to populate with the description of the value returned by the drop-down box. In my case it's a Department code and associated description.
    Initially, I inserted code in the SET_DEPT method to lookup the description (using a SELECT statement) and place the result in the DEPT_DESC field. However, this method is not being called, I don't think, or at least my break point is not being reached.
    So I'm looking for somewhere to place the code which will be called when the DEPT field changes value, and I can then lookup the description and populate the DEPT_DESC field.. Both the DEPT and DEPT_DESC fields are in the same context node by the way.
    It's a real pity that when you create new fields in the AET tool you can't relate one field to another or somehow use a search help and say that the source is another field and this field will hold the result, or something like that.
    Jason

    Hi,
    It was said that the SET_* method will be called when you press enter on the view to trigger a server round trip.
    For your case, I'd like to suggest you take standard coding for example.
    That is the categorization in service ticket view in IC_AGENT role.
    When select the first category, if the second category only has one value, it will be automatically set. which should be similar to your requirement.
    component view GSMCDDLB/DropDownList
    call stack is
    METHOD SET_FIELDS      CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    METHOD EH_ONCATCHANGE  CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    METHOD DO_HANDLE_EVENT CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    when a value is selected in the first dropdown, an event is triggered, you may debug and find out your event, and make the codings in EH_* method.
    set value for other field is some what simple also, like that in
    METHOD SET_FIELDS      CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    CALL METHOD lr_dropdownlist->if_bol_bo_property_access~set_property
    If the first field is not a dropdown, for example a field with F4 help, after select the value from the popup, there will be event SELECT_OBJECT triggered for the view I tested.
    You may put breakpoint in do_handle_event for the controller class and observe what event was triggered.
    Then make the relevant coding.
    Hope could do help!
    Hongyan

  • Third party Certificate not showing up in SQL configuration manager drop down box

    Hi,
    I have an SQL instance that needs to use a third party SSL certificate for all communications to that SQL instance. I have installed my third party certificate via MMC and it is showing under the Personal Folder.
    However, when i go into the SQL configuration manager and right click the instance name > Properties > Certificates, it is not showing in the drop down box.
    I am currently using MS SQL Server 2008 R2, which is installed on Windows Server 2012. 

    Hi,
    If the certificate cannot be used for SQL Server and hence will not be visible in SQL Configuration manager. Check the validity of the installed certificate. It may not has the correct DNS name.
    I suggest you request a new third party certificate from the vendor with the correct DNS name. Install it on SQL Server environment, then you should see certificate form the configuration manager dropdown box.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • The 'Third Party Connections' drop down box on the 'Source Database' step in the Migration Wizard is empty.

    Here are the environmental details:  
    SQLDeveloper 32-bit Version 3.2.20.09 (Build MAIN-09.87)
    Oracle Database:  12C single instance (no RAC)
    Oracle client:  12C 32 bit
    Windows 64 bit desktop
    I am attempting to migrate an MS Access application to Oracle.  I pick the ‘Migrate’ selection from the ‘Tools’ Menu SQL Developer.  This puts me into the Migration Wizard.  When I get to the ‘Source Database’ step of the migration wizard, the ‘Choose the Third Party database from which you are migrating’  drop-down box is not being populated with the current available connections. It is empty.  If I type a valid connection name into the box, SQL Developer takes it on this screen but does not keep it for the next screen/step.  It has no persistence.  I even tried to make sure that each connection was open/connected before beginning the migration process.
    Due to the fact that I am attempting to migrate an MSAccess application, I am mixing 32-bit and 64 bit software.  This may be the issue as to why the drop down is losing addressability.  I have not applied any patches to this version of SQL Developer.

    Hi,
    If you need easy way to migrate Microsoft Access to Oracle probably it is more reasonable to review some tools specially designed to this purpose. For example:
    Access to Oracle converter by Intelligent Converters
    Access to Oracle converter by SpectralCore
    Access to Oracle converter by Interface Computers
    Hope, this will help.
    Sincerely,
    Vlad

  • Multiple Drop down boxes

    I have a jsp in which i'm using 5 drop downs.
    I have to populate the last 2 drop downs according to the value selected in the first 3 drop downs. I can do this by selecting the first three drop downs and submitting the form, then load the other two drop downs. But I do not want to do it that way.
    Please reply if you guys think of any other way.
    Thanks for the help.
    Anjana

    Hi Priyankaswings,
    Thanks for the reply. I guess you didn't understand what i was asking for.
    According to what you said("if the value in first drop box is Fruit then in other drop box values are apple mango whatever .. like form validation"), it's not the problem selecting one drop box's value according to an other one.
    here's my original problem description
    ************************************************************************I have a jsp in which i'm using 5 drop downs.
    I have to populate the last 2 drop downs according to the value selected in the first 3 drop downs. I can do this by selecting the first three drop downs and submitting the form, then load the other two drop downs. But I do not want to do it that way.
    For example, I have 1st drop down "Vehicles"(Cars, Vans,Trucks, MotorBikes), 2nd drop down "Types"(Sports cars, SUV's, family cars,Luxury cars etc), 3rd drop down "Make"(Acura, Honda, Volvo, Lexus, mazda, Vokswagon etc). These three drop downs will all be populated from the database. When the user selects one from each drop downs, according to that combination you need to populate the "Model".
    Say i selected Cars in 1st drop down, SUV's in the second and Volvo in the third , it should populate the model according to the selected three values. Hope you get a clear picture now.
    It's actually combination of three drop down boxes that i need to look for. And if at all the user keeps changing the selection of even one drop down out of the first 3 drop downs, the value of the last 2 drop downs will be changed.. Any idea???
    Thanks,
    Anjana

  • Safari 4.1.3 quits at SSL(?) drop down boxes

    Hi. I posted this in the Safari area, couldn't get a response, thought I'd try here.
    I am maxed out at OSX 10.4.11 and safari 4.1.3 on an old G4.
    Just yesterday Safari repeatedly malfunctioned when accessing secure (SSL?) site drop-down boxes while trying to pay utility bills online. The boxes drop down, the desired selection can be highlighted, but when the cursor is lifted, the change is NOT made, the beach ball spins, Safari quits. Every time. On several different sites. Data can be entered in the blank spaces, but using the drop-down boxes results in a stall, then quit.
    These type of tasks were accomplished as recently as the day before. Other Safari functions (browsing, youtube etc) seem to work. Firefox works in all areas.
    Any ideas?
    Attached a grab, just in case I'm mis-identifying anything. I'm entirely unfamiliar with secure sites, other than using them. What I call a drop-down box are labeled "Any", "0", "no maximum" on the grab.
    Now Safari is starting to occasionally quit elsewhere, including this slow-loading site.
    Boot / Restart doesn't seem to help. Have done routine Repair Permissions on HD, seemingly not needed.
    Tried Reset Safari. No change.
    Also emptied InputManagers folder. No change.
    Tried trashing any "com.apple.safari.xxx.plist." files I could find in any Library>Preferences. Original problem persists and Safari now running discernibly slower.
    Would simply re-installing Safari help? If so, is there any uninstall needed, or other steps to take? Any secret hidden folders that need to be trashed?
    Will bookmarks be retained with a simple re-install?
    Thanks in advance.

    Nope, not a secure site in anyway, it works here, and after looking at what it uses I suspect maybe Java Script.
    Here's the things it loads...
    http://www.pacunion.com/Search/
    about:blank
    about:blank
    http://www.facebook.com/extern/login_status.php?api_key=ce28ad8bf6894a6321a84406 0a02803c&extern=0&channel=http%3A%2F%2Fwww.pacunion.com%2Fxd_receiver.htm&locale =en_US&sdk=edgar
    http://connect.facebook.net/rsrc.php/v1/yQ/r/f3KaqM7xIBg.swf
    http://www.google-analytics.com/__utm.gif?utmwv=5.2.6&utms=2&utmn=1069727453&utm hn=www.pacunion.com&utmcs=UTF-8&utmsr=1920x1080&utmvp=1373x894&utmsc=24-bit&utmu l=en&utmje=1&utmfl=10.1%20r53&utmdt=Pacific%20Union%20International%2C%20Inc.%20 -%20Seattle%20Homes%20for%20Sale%20%7C%20Seattle%20Real%20Estate&utmhid=21342809 82&utmr=0&utmp=%2FSearch%2F&utmac=UA-19850714-1&utmcc=__utma%3D68029712.17635789 43.1333494639.1333494639.1333494639.1%3B%2B__utmz%3D68029712.1333494639.1.1.utmc sr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=q~
    http://www.mynextcustomer.com/widget/roiw.js?a=2417
    http://www.pacunion.com/app/dashboard/mlsPropertyListings.php
    http://www.pacunion.com/classes/getCSZ.php
    http://www.pacunion.com/combine.php/1311660357-2/?exphdr=1&type=javascript&theme =pacunion&files=prototype.js,common.js
    http://www.pacunion.com/combine.php/1329375233-15/?exphdr=1&type=javascript&them e=pacunion&files=../vendor/yui/SinglePropMin-YUI.js,../vendor/yui_252/build/yaho o-dom-event/yahoo-dom-event.js,../vendor/yui_252/build/animation/animation-min.j s,../vendor/yui_260/build/connection/connection-min.js,../vendor/yui_260/build/d atasource/datasource-min.js,../vendor/yui_260/build/autocomplete/autocomplete-mi n.js,scheduleView.js,validation.js,favourite.js,../vendor/rolodex/rolo.js,../ven dor/JSCal2-1.8/src/js/jscal2.js,../vendor/JSCal2-1.8/src/js/lang/en.js,polygonMa p1.js,listshare.js,propertySearch.js
    http://www.pacunion.com/combine.php/1331362720-15/?exphdr=1&type=css&theme=pacun ion&files=common.css,dashboard.css,user.css,tabviewThm.css,../../../vendor/rolod ex/styles.css,../../../vendor/ewindow/EWindow.css,../../../vendor/yui/container/ assets/container.css,../../../vendor/yui/tabview/assets/tabview.css,tabviewThm.c ss,../../../vendor/yui/tabview/assets/round_tabs.css,../../../vendor/ewindow/EWi ndow.css,listing.css,listView.css,../../../vendor/yui_260/build/autocomplete/ass ets/skins/sam/autocomplete.css,../../../vendor/JSCal2-1.8/src/css/jscal2.css
    http://www.pacunion.com/images/disclaimer/maxebrd.jpg
    http://www.pacunion.com/images/disclaimer/REINFOLINK.gif
    http://www.pacunion.com/multiCityUI.php
    http://www.pacunion.com/Search/
    http://www.pacunion.com/vendor/rolodex/Images/addAllBtn.gif
    http://www.pacunion.com/vendor/rolodex/Images/clearBtn.gif
    http://www.pacunion.com/vendor/rolodex/Images/compareBtn.gif
    http://www.pacunion.com/vendor/rolodex/Images/directionBtn.gif
    http://www.pacunion.com/vendor/rolodex/Images/saveBtn.gif
    http://www.pacunion.com/wt/pacunion/images/common/arrow.png
    http://www.pacunion.com/wt/pacunion/images/common/calander.gif
    http://www.pacunion.com/wt/pacunion/images/common/ico_emailalerts.gif
    http://www.pacunion.com/wt/pacunion/images/common/ico_expand.png
    http://www.pacunion.com/wt/pacunion/images/common/ico_mini.png
    http://www.pacunion.com/wt/pacunion/images/common/ico_savesearch.gif
    http://www.pacunion.com/wt/pacunion/images/common/listingResultBg.gif
    http://www.pacunion.com/wt/pacunion/images/common/openhomes_icon.gif
    http://www.pacunion.com/wt/pacunion/images/common/rightpanel_bg.gif
    http://www.pacunion.com/wt/pacunion/images/common/searchbox_bg.gif
    http://www.pacunion.com/wt/pacunion/images/common/searchbox_top.gif
    http://www.pacunion.com/wt/pacunion/images/common/send.gif
    http://www.pacunion.com/wt/pacunion/images/common/seshadow_left.gif
    http://www.pacunion.com/wt/pacunion/images/homesite/right_sep.gif

  • When I open the "Save Page As" window, the drop-down box for the file name shows files that were saved long ago. This is not cleared by any "clear history" function that I can find. How do I clear this?

    # Question
    When I open the "Save Page As" window, the drop-down box for the file name shows files that were saved long ago. This is not cleared by any "clear history" function that I can find. How do I clear this?

    Hello.
    I believe this is a Windows related issue, since it's the windows Save File manager we're talking about here (right?). You should contact Microsoft for help on that one, I believe. You'd expect to be able to delete the entries by simply tapping ''Delete'' on your keyboard when they are focused (that's how it goes for deleting specific form autocomplete entries in Firefox), but I haven't tried that.
    I'm sorry I can't be of more help.

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

  • How to get ALL values as default for  a drop down box in JSF

    Hi,
    I have a drop down box in JSF page which retrieves values from LOVCache.java. I have values like Company, Client, User, ALL in the drop down box.
    By default blank value is selected for the drop down box. I want to make ALL(which retrieves data for all the values) as default value for the drop down box.
    Could any body help me? Any help must be appreciated.
    Thanks,
    Aseet

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • 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

  • Hebrew fonts from drop-down box not displaying in text box.

    I am using InDesign CS 5.5 on a Mac 10.8.4.
    When in ID, the fonts I am seeing on the Font dropdown menu when I try to use in a text box are not displaying correctly. They only display as boxes. The fonts are in the Hebrew language. They are properly installed in the FontBook.
    Please help!! Thank you.

    Reema,
    I followed most of your steps. I have a question reg. step 3 ie populating data in node 1.
    Here is my code:
    method WDDOINIT .
    types: begin of zs,
    zktokd type kna1-ktokd,
    end of zs.
    data: handle1 type ref to if_wd_context_node,
    begin of zstruct,
    zktokd type kna1-ktokd,
    end of zstruct,
    zitab type table of zs.
    handle1 = wd_context->get_child_node( name = 'NODE1' ).
    *select ktokd into corresponding fields of zstruct from kna1.
    *append zstruct to zitab.
    *endselect.
    zstruct-zktokd = 'Sold-to party'.
    append zstruct to zitab.
    zstruct-zktokd = 'Goods recipient'.
    append zstruct to zitab.
    zstruct-zktokd = 'Payer'.
    append zstruct to zitab.
    zstruct-zktokd = 'Bill-to party'.
    append zstruct to zitab.
    zstruct-zktokd = 'Prospective Customer'.
    append zstruct to zitab.
    zstruct-zktokd = 'Competitor'.
    append zstruct to zitab.
    zstruct-zktokd = 'Sales partners'.
    append zstruct to zitab.
    zstruct-zktokd = 'Hierarchy Node'.
    append zstruct to zitab.
    zstruct-zktokd = 'Named List of Accounts'.
    append zstruct to zitab.
    zstruct-zktokd = 'Distribution center'.
    append zstruct to zitab.
    zstruct-zktokd = 'Payer'.
    append zstruct to zitab.
    handle1->bind_table( new_items = zitab ).
    endmethod.
    Please let me know if this is the best way to populate the node and then bind the table values from the node to the drop down box.
    Thanks and Regards.

  • How to get values from a multiple drop-down box.

    On my first page, I have a multiple drop-down box as the following code.
    <select name="selInterMethod" class="textbox" multiple>
    <option selected value="CH">Chicago</option>
    <option value="NY">New York</option>
    <option value="SF">San Francisco</option>
    </select>
    On my second transaction page, I need to save "CH-NY" into my Database column: city if the user selected Chicago and New York.
    How can I accomplish this in JSP?
    Thanks for your help.

    I figured out the solution. Here it is. FYI
    String inter_method = "";
    String Inter_Method[]=request.getParameterValues("selInterMethod");
         if( Inter_Method.length > 0 ) {
              for (int i = 0; i < Inter_Method.length; i++) {
                   inter_method = inter_method + '-' +Inter_Method;
              inter_method = inter_method.substring(1,inter_method.length());
              System.out.println("trx inter_method = " + inter_method);

Maybe you are looking for