Two fields in a drop down.

I have a internal table which have two fields , and i have to show both these fields in the dropdown.
so please provide your helpful answer for the same.
Thanks in advance.
Upendra.

Hi ,
1) you  can use EVS here, works a key value pair.
2)create anode and an attribute under that bind node to drop down by index UI .
try
IPrivate<view>.I<viewNode> node=wdContext.node<node>();
List lis=new ArrayList();
for(int i=0;i<wdcontext.node<tableoutptu>.size;i++)
if(i==0)
IPrivate<view>.InodeElement ele = node.create<node>Element();
ele.set<att>("get field1"+" " +"get field2");
lis.add(ele);
node.bind(lis);
catch(Exception e)
Thanks,
Sunitha Hari.

Similar Messages

  • When creating my own form... is there a way to to link multiple drop down fields  to other drop down fields?

    when creating my own form... is there a way to to link multiple drop down fields  to other drop down fields?

    And in what program? You need to be more specific. Creating conditional forms is of course possible, but the procedures will depend on the actual program and target medium. HTML forms work differently from PDF...
    Mylenium

  • Populate a drop down list with data from Excel and fill in a text field, based on drop down selectio

    Hi!
    I have a problem with a PDF form: There's a drop down list that I populate with Excel data that I've put in an XML file through an XSD file -- no problem here. The drop down list has a data binding to the XML file, so that a choice in the drop down list can be associated with an object in the XML file. So, when I make a choice in the drop down list, a corresponding object value is fetched from the XML file and put in a text field on the form.
    How to do this is described by Stefan Cameron here:
    http://forms.stefcameron.com/2006/07/29/dynamic-properties/
    There's a snag, though, and to describe it more clearly:
    The XML file contains three types of objects: role, role number, and role cost center. Of these I use the first and the third, i.e. the role and the role cost center. The drop down list contains the roles, and when I select a role, the corresponding cost center is filled out in the text field. So far, so good!
    But -- if the cost center has the same value for two or more roles, all of these roles "bounce back" into the drop down list, that is, they are all selected in the drop down list. How many of these you can see depend on the height of the drop down list -- if it's low you'll only see the first one.
    If I modify Stefan Cameron's data in his example I get the same behavior, so the problem seems to have to do with how XML data are fetched.
    I'm sure there's a workaround, but I can't find it! I've spent many hours browsing the web without finding anyone with a similar problem.
    Any suggestions appreciated!

    Although your issue is far beyond mine, I was hoping you can help me out.....
    I need to create a drop down list of names which I wish to somehow link to an Excel spreadsheet.
    Please let me know the steps I need to do.  I've tried several things, but nothing seems to work and I'm not sure what I am doing wrong.
    Thank you

  • How to auto populate a field based on drop down list unless specific item is selected

    Hi all,
    Apologies if I have posted this in the wrong area but I am new to Adobe LiveCycle, JavaScript and these forums.
    I am trying to build an Acrobat form using LiveCycle but am having trouble with the drop down lists.
    Inititaly I simply wanted to populate fields in one table based on the selection of a corresponding drop down list in another table.
    I used the following code and it worked fine:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*].Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[*].Row4.Cell1");
    for (var i=0; i <= fFrom.length-1; i++) {
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
    The problem is that now I want the above code to work UNLESS one of the items in the dropdown list is specifically selected in which case I want the text box in the other table to display a message such as "Enter details in the field below".
    I have tried to create an If Else statement using the following code:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*].Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[*].Row4.Cell1"); 
    for (var i=0; i <= fFrom.length-1; i++) {
         if (fFrom.item(i).rawvalue = "Option 3"){
         fTo.item(i).rawValue = "Enter details in the field below";
         else {
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
    The code now populates the field with "Enter the details in the field below" no matter what item I select from the dropdown list.
    Your help is greatly appreciated.
    Cheers,
    ozzy_q

    Follow Up:
    Ok so ive changed things up a bit and have had some more success.
    I have used a Switch statement in my For loop to perform different actions based on the item selected.
    The code looks like this:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*] .Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[* ].Row4.Cell1");
    for (var i=0; i <= fFrom.length-1; i++) {
         switch (fFrom.item(i).rawValue)
         case "Option 3":
         fTo.item(i).rawValue = "Enter the details in the field below";
         break;
         default:
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
         break;
    This code solves my problem but has thrown up a new issue:
    When i select Option 1 or 2 from the dropdown list  the change in the text field is instantaneous, however if I select Option 3 it wont appear in the text field until I either select Option 3 a second time or select another item. Its as if the text field is a selction behind what I have enterd in the dropdown list.
    Any thoughts?

  • Information field for a drop down list

    Hi,
    I have a drop down list that is a list of abbreviated codes.  I would like to have a "?" box beside them that when the user clicks on it, it pops up an information box that shows the Description for each abbreviated code.  Alternatively the drop down list could have the Abbreviated code with the description beside it, but when the user selects this I would need it to just show the abbreviated code in the finished product of the form.
    I am very new to LiveCycle so have not done any scripting, so would need a fairly comprehensive guide if thats what is involved.
    I have searched the internet for weeks and have not been able to find a solution. So truly appreciate any help.
    An example of my abbreviation codes are CC and CF
    An example of what I need in my information box is:      CC - Check duty in jump seat / simulator
                                                                                         CF - Check duty in operating seat

    Since it's early days....
    the simplist solution I put forward for you is:
    1)
    - make two combo-boxes
    - 1 with abbreviated codes
    - 1 with corresponding "un-"abbreviated values
    2)
    On the "un-"abbreviated codes combos 'ready:layout' event, but the following code:
    this.selectedIndex = dropDownAbbreviated.selectedIndex;
    3)
    Make the "un-"abbreviated combobox readyonly (it will look better)
    have fun

  • SCAC Field Should have Drop Down Values and ASN should have Storage locatio

    Hi ,
    We have a requirement while creating ASN in which we have to add SCAC ID  in the SCAC field ( Carrier)  this SCAC ID comes in Shipping details  - We want to have drop down values in this field and also if we dont enter value in this field An Error Message should come like " Maintain SCAC code.
    And also the PO's coming from ECC are not carrying Storage location information - Is there a specific config / enhancement to be done.
    And in ASN can we have Storage location ?
    Thanks,
    Mahesh

    Hi Mahesh
    Regarding adding fields to UI
    Refer below links
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0b0e544-7a06-2d10-539d-f8648358ba67?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/display/SCM/SAPSupplyNetworkCollaboration%28SAP+SNC%29
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/908c1e69-0a01-2d10-e7a6-98ca00f19aa6?quicklink=index&overridelayout=true
    Not sure how to maintain it as a drop down, a developer could help you easily with that.
    Regarding Storage location from PO ECC.
    If you are using idocs, the standard SAP xml conversion will not be able to transfer this(if you download standard content)
    You can find the field in your IDOC ORDERS05, Data records-Segement-E1EDP01FIELDLGORD
    In order to transfer this, you need to rewrite the xml format in integration builder of XI/PI and then add some UI fields in Webui
    to show.
    But xml PurchaseOrderERPReplenishmentOrderCollaborationNotification as of SAP ECC EHP4 can carry this information in its payload document(SXI_MONITOR---INBOUND MESSAGE ---PAYLOADS) Under the node INVENTORY MANAGED LOCATION
    Not sure where this field is mapped to .........
    I will let you know once i find........Mean while you can ask any developer who worked on webdynpro .
    Yes we can have this field once we find where it is mapping, if you are using idocs then even the XML has to be build in PI
    accordingly.
    Best Regards
    Vinod

  • Auto Populate Drop Down and Text Fields from Other Drop Down and Text Fields

    Hi everyone
    I'm trying to pre populate a "Proposed Employment Status" drop down field with the selection from the "Current Employment Status" drop down field and allowing users to select another option if the proposed employment has changed. If it hasn't it would just remain as populated by the Current Employment Status" entry.
    I'm also trying to do this with text fields eg "Proposed Position Title" is populated with "Current Position Title". If the title changes in the bew employment arrangements users can enter it over the Proposed Position Title that is presented when the Current Position Title is entered.
    I can get it to work if the drop down or text field names are the same, but this doesnt solve the problem.
    Any ideas
    Regards,
    Michael

    Java is a full featured-language and you shouldn't have any problem doing the mathematics, etc.
    As far as the rest, Studio Creator is a relatively easy way to create the user interface that you describe. If supports drop-down selectable lists and standard form capabilities. A Web Application architecture would appear to be ideally suited to what you describe, and this is supported by SC. Be aware that this would require a server to serve the application to the client computer.
    If the server is a problem you could consider an applet that would be downloaded from a website, and then run entirely on the client computer. But the first approach is better.

  • AppleScript how to use "get" for field information and drop-down boxes?

    Hi all,
    First post.
    Looking to use the "get" function or similar for getting information in a list or from a drop-down box or a field.
    Example, you open keychain, open the info. for a cert and want to read the currently selected trust setting for "When using this certificate" drop-down.
    Or, you want to check the Common Name field under details.
    How would I return these specific values?
    Thank you,
    -b

    The exact question being asked here: http://forum.soft32.com/mac/select-table-row-ftopict101735.html
    But, that doesn't work with the latest AppleScript.

  • Adding up Form Fields that are drop down menus

    I have the following form with a radio button, pull down
    menus and a text field. I would like to have a total amount due at
    the bottom of the form that adds up the tickets/contributions they
    would like to purchase. I have the radio button working but can not
    figure out the code for the pull down menu and text field.

    Is there a particular DW extension for drop down menus you recommend?
    Yes, the one in my previous post - commercial,but it can be used on multiple sites, no restrictions. You do have a choice, Read the descriptions of the tp 3 here:  http://www.projectseven.com/products/menusystems/index.htm
    I'd suggest the Pop Magic 2... is more versatile.
    Also, are there any resources you suggest for the painful transition from HTMl thinking in DW8 to CSS in CS4 like a Dummies book or Lynda.com? After three days of messing with CSS elements, I still think in tables for complex designs and I keep quitting the learning
    Here are some good tutorials to get you started, from the basics to completing a full site:
    http://www.macromedia.com/devnet/mx/dreamweaver/css.html
    http://www.macromedia.com/devnet/dreamweaver/articles/tableless_layout_dw8.html
    http://www.macromedia.com/devnet/dreamweaver/articles/css_concepts.html
    A good css / html reference site:
    http://www.w3schools.com/
    Lot of good articles on CSS over at www.sitepoint.com as well.
    It is a lot to take on board, but start off small, firstly by at least styling your current table layouts with CSS and then moving onto using Divs for layout.   It is nto as easy as some people say it is to move over from table layouts and sometimes you wonder whether it's worth it, especially when you may find yourself facing various browser bugs, but if you remember to code for Firefox first and then adjust for IE, you'll be set  :-)
    Good Luck
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • COOIS system status field doest allow drop down list

    hi,
    In COOIS my user is unable to view the drop down list for SYSTEM STATUS. it doesnot allow to see the drop down list with F4 and drop down click.
    Whome do i refer to?
    Regards,
    Sameer Jalal

    Dear,
    I read mentioned note and there are following text under solution:
    Implement the source code corrections as described in the correction instructions.
    when i click on Correction Instruction 771905
    Note :  0001257156 Order information system: Selection according to sys. status
    Correction: 0120031469 1  0000681041
    but there is no text in correction instruction(0000681041).
    FYI... the SP SAPKH60016 is mention in this note while our system have SP SAPKH60020.
    Regards,
    Sameer Jalal

  • Is it possible to assign get parameter Id to a field which having drop down

    Hi ,
    Is there any possibility to assign paramter id to a field which having dropdown ?

    hiii
    yes you can assign parameter id to a field which is having dropdown.assign it same way by using GET SET parameter ID.
    regards
    twinkal

  • Concatenate two rows into one drop down? Not order them though

    Ok I have two rows:
    Group
    Original Performance NorGrip
    Gold Blank Disc
    Gold Blank Disc
    Truckbed Liner Kit
    Then I have another one:
    Attribute
    Grade
    Grade
    Dimensions
    However, I don't want them combined on top of one another.
    I want it so a person can select like so:
    Original Performance NorGrip Grade
    Gold Blank Disc Grade
    Gold Blank Disc Dimensions
    Truckbed Liner Kit (no value in the other column)
    The truckbed liner kit has no attribute value in the column so I would rather the option not show at all... So as long as the attribute column is filed, combine the two and show it in a validation list..
    I know how to create lists and then make them validation lists, but this is stumping me..

    From your example and description, I'm not sure I understand what you are starting with. Do you have a grid (group, etc across the top; attribute etc in rows, with som marker that shows which combinations are valid and which arent? Or do you have two rows
    (or columns) that /only/ contain the valid combinations?
    If you have them in two rows (or columns) containing only the valid combinations, then you can insert a third row (or column) as a helper column and just concatenate the two values, like A3 =A1 & " " & A2
    Then either use that range to feed your validation list on the same page, or turn it into a named range and feed a validation list on another sheet.

  • Get multiline value field in a drop down c#

    Hi guys ,
    i want to get the value of a multiline field in a SharePoint list  in a Dropdown control. Every line of the multiline filed will be a choice in the dropdown control. How can i do this?This is the way to  get the value:
    SPSite site = new SPSite(SPContext.Current.Web.Url); // Contestualizzazione in qualsiasi sito.
    SPWeb web1 = site.OpenWeb();
    SPList list1 = web1.Lists.TryGetList("Licenses");
    SPListItemCollection items1 = list1.GetItems(new SPQuery()
    Query = @"<Where><IsNotNull><FieldRef Name='Serial' /></IsNotNull></Where>"
    foreach (SPListItem item in items1)
    string DropDpwnValue = item["Serial"].ToString();
    LicenseSerials.Items.Add(DropDpwnValue);

    Ok this my solution:
    SPSite site = new SPSite(SPContext.Current.Web.Url); // Contestualizzazione in qualsiasi sito.
    SPWeb web1 = site.OpenWeb();
    SPList list1 = web1.Lists.TryGetList("Licenses");
    SPListItemCollection items1 = list1.GetItems(new SPQuery()
    Query = @"<Where><IsNotNull><FieldRef Name='Serial' /></IsNotNull></Where>"
    foreach (SPListItem item in items1)
    string DropDpwnValue = item["Serial"].ToString();
    string[] licensesChoice = DropDpwnValue.Split(';');
    foreach (string word in licensesChoice)
    LicenseSerials.Items.Add(word);
    Bye

  • Copy value in drop down to text field

    Hi,
    I am not sure what the best solution for this may be.
    I have a form (ASP/VB) it has a drop down menu and two text
    fields.
    The drop down displays the names of people, but the value of
    each is their
    email, the text fields is a 'to' field and a 'cc' field.
    I want user to be able to select any of the names and click a
    "email 'to" or
    "email 'cc'" when they do that copy the values of each field
    into the 'to'
    box or the 'cc' box depending on the button that is clicked
    on., so if user
    selects "ana", "bob" and "john" and clicks on "email 'to'",
    their emails are
    copied to the 'to' text box, having as a result:
    [email protected], [email protected], [email protected] and user can
    still enter a
    few more emails in the 'to' box if necessary.
    If anyone knows of a tutorial that would be great !
    Thanks for any pointers.
    Aleks

    google capturing form values with javascript.
    Read about the DOM (Document Object Model).

  • How can I get a drop-down list selection also be selected in another field with the same list but a different name?

    I have a street address and a billing address. A question is posed with a checkbox — "Is the billing address the same as the street address?" If Yes is checked, the street address automatically fills the billing fields. If No is checked, the user must fill in new information. In both the street address and billing addres, the State field is a drop-down list. How can I get the drop-down list selection in the street address State also be selected in drop-down list for the billing address State?

    Has anyone done this?

Maybe you are looking for