2 values can be added to a drop-down list item?

I probably need to explain what it is I'm doing first. It could even impossible the way I'm doing it. So if there's a better way, please do help. But I try to have items listed in a drop-down list. More precisely the elements that are of different lengths with different numbers. I have been using the value of the elements to do simple calculations to work. But I also want it so that once an item is selected the item to a list of material later in the form printed. I'm sure I can set the value of the element as the item number and I the number displayed next to the item (in another column) later in the order form. But I want to be able to always perform the calculations in the subform where is the original drop-down list. Is it possible to assign 2 values (one for use with calculations) and one for use as an item number? Or is there a better way to do what I'm doing? I know I could just name the list drop-down list item and contain the number of point in the name using addItem. But I don't want to confuse the user with numbers, they did not need to see. Only the person who sells the materials needs to know the number of points, not the user.

Back again...

Think - the behavior is expected because the values specified in the binding tab lead the overall binding for the drop down menus.

So if the first dropdown the text resulting from elements such as the display values AND the second dropdown has numbers of items like display settings - then it will work. As long as the two drop-down lists have the same number of elements and sequence in the specified values is the same.

This means that you must keep two drop-down lists.

It may be a good idea to have the second dropdown (numbers) configured to read only so that the user cannot interact with it.

Good luck

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Adding a menu drop-down menu item?

    Can I add a menu drop-down menu item of the interactive form list drop-down opening page.

    Doug,

    Ah, this is called the Menu Action and at this stage there is no way to do - at least not a supported method. You could always manipulate the list 'apexir_ACTIONSMENU '...

    It would make an enhancement request well.

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen
    http://sourceforge.NET/projects/plrecur

    You can reward this answer by marking as being useful or correct ;-)

  • Help to the drop-down list items in list making invisible field

    On the attached form, I have a drop-down list "Item". How can I get the items in this list make the text field "embroidery" visible or invisible depending on the element selected?

    My programming skills are very basic, livecycle as I am just getting into this. Any help would be appreciated.

    Tom,

    our email form.

    hope this is what you were after.

  • Pages of dashboard as a drop-down list items

    Hello

    I have more than 6 pages in my dashboard, I want to display as a drop-down list. Before posting here, I looked at all possible sources and link to joe
    Dashboard OBIEE - Pages of dashboard as a drop-down list items

    But after going through this post I force pass through. Can someone guide me or someone that can give me the right solution.

    Any help would be greatly appreciated.

    TIA,
    KK

    Sure no problem,

    concerning

    John
    http://www.obiee101.blogspot.com/

  • Help adding textfield with drop-down list selects

    I have a PDF with a drop-down list field called "SoftwareList" with a default value of "Select the software" and a text field called 'SelectedSoftware '. You can freely type in the text field to communicate your needs, or choose the menu drop-down. I want to add in the text field, which is selected in the drop-down list each time. I had the following script to fix this as a custom text field calculation script:

    If (this.getField("SoftwareList").value! = "Select software")

    {

    this.getField("SelectedSoftware").value += this.getField("SoftwareList").value + «»

    }

    The problem I have is that it will continue to add to the text box with everything that was selected last in the drop-down list when you click on other fields in the form, such as check boxes. I tried this put on different actions both at the key sequence in the Properties tab of format, but did not work there. I added the following line, which helped, but it is still a click of the addition until it changes, duplicate the last pick:

    this.getField("SoftwareList").value = "select the software."

    Appreciate help with this.

    I would like to use the script validation custom from the drop-down list. You can use something like this:

    If (event.value! = 'Select Software') this.getField("SelectedSoftware").value += event.value + ",";

    To ensure that the update as soon as a selection is made to check the option to validate the selected value immediately under properties of the menu drop down, tab Options.

  • How can I create a menu drop-down list dynamics that controls two separate drop-down lists?

    Hello

    I could use help decipher how to control 2 separate drop-down lists ('b' and 'c') through the value selected in the main drop-down menu (that is, 'a').

    My script worked perfectly to control another menu drop down, however I can't seem to properly control the third zone.

    In my example below, what I'm trying to do is control 'Method - external' and 'Department - external', through my gout primary to the bottom of the list. The external 'method -' drop-down list works fine, it is the third 'Department - external' that I fight with.

    For example, if 'Theft' is chosen in the first drop-down menu, I want 'Method - external' to display the series points and "Department - external" to display a different set of items. If 'Cyber Crime' is selected in the main menu down, then the external 'method' - set items will change and the external "Department -" will indicate N/A.

    With the following script - no matter what happens if I choose 'Flight' or 'Cyber Crime' in the first menu drop down, 'Cyber Crime' n/d game elements are displayed in the external "Department -" drop-down.

    I apologize if this is hard to follow - it is certainly difficult to explain. I hope that my question came through.

    Here's my current script

    Switch (event.value) {}

    case 'flight ':

    this.getField("Method-External").setItems (["","grab and run", "shopping cart/basket Walk Out", "Possession", "Consumption", "Other"]);

    break;

    this.getField("Department-External").setItems (["","Agro", "Automobile", "Bakery", "Building materials", "Chemical", "Cleaning supplies", "Candy", "Dairy products", "Deli/Bistro", "ELECTRIC", "Electronics", "Farm equipment", "Fashion", "Feed", "Fertilizer"]);

    break;

    cases of "fraud":

    this.getField("Method-External").setItems (["", "credit card", "debit card", "Check", "Coupon", "Counterfeit", "Merchandise Return", "Price Switching", "Self Check-out", "Provider", "Other"]);

    this.getField("Department-External").setItems (["", "s/o"]);

    break;

    case 'flight ':

    this.getField("Method-External").setItems (["", 'threat of concealed weapon', 'Threat from weapon', "Verbal threats", "Acts of aggression", "Other"]);

    break;

    case 'exit and enter:

    this.getField("Method-External").setItems (["","Smash and Grab - vehicles", "Smash and Grab - pedestrian", "forced entry", "Unauthorized Keyed", "Other"]);

    break;

    case 'mischief ':

    this.getField("Method-External").setItems (["","graffiti", "Damage", "product a manipulation", "Other"]);

    break;

    case "Cyber Crime":

    this.getField("Method-External").setItems (["","Malware (Virus)", "Phishing", "Others" "]);

    break;

    this.getField("Department-External").setItems (["", "s/o"]);

    break;

    }

    Thank you

    You have a few break statements that should not be there. Try this:

    Switch (event.value) {}

    case 'flight ':

    this.getField("Method-External").setItems (["","grab and run", "shopping cart/basket Walk Out", "Possession", "Consumption", "Other"]);

    this.getField("Department-External").setItems (["","Agro", "Automobile", "Bakery", "Building materials", "Chemical", "Cleaning supplies", "Candy", "Dairy products", "Deli/Bistro", "ELECTRIC", "Electronics", "Farm equipment", "Fashion", "Feed", "Fertilizer"]);

    break;

    cases of "fraud":

    this.getField("Method-External").setItems (["", "credit card", "debit card", "Check", "Coupon", "Counterfeit", "Merchandise Return", "Price Switching", "Self Check-out", "Provider", "Other"]);

    this.getField("Department-External").setItems (["", "s/o"]);

    break;

    case 'flight ':

    this.getField("Method-External").setItems (["", 'threat of concealed weapon', 'Threat from weapon', "Verbal threats", "Acts of aggression", "Other"]);

    break;

    case 'exit and enter:

    this.getField("Method-External").setItems (["","Smash and Grab - vehicles", "Smash and Grab - pedestrian", "forced entry", "Unauthorized Keyed", "Other"]);

    break;

    case 'mischief ':

    this.getField("Method-External").setItems (["","graffiti", "Damage", "product a manipulation", "Other"]);

    break;

    case "Cyber Crime":

    this.getField("Method-External").setItems (["","Malware (Virus)", "Phishing", "Others" "]);

    this.getField("Department-External").setItems (["", "s/o"]);

    break;

    }

  • How can I disable the menu drop-down list on the back button?

    I use a laptop and my hands are not too clever. Whenever I click on the 'back' button, I get the drop-down list, which means that I must then back up my hand to the pad (gently!) to move the pointer, and then try again. It may take me several attempts to turn back a site now!

    I searched for hours how activate the drop-down list, nothing is done and even looked through all the settings in: config to try to find a way around it. Seriously impact my ability to use my laptop on the web now, so if someone can you please come up with a way to return to the old back button, with no menu when my finger slow old cannot move pretty fast down the key, I would be very grateful.

    There are two other ways to return to a page.

    • Right click on a box empty page you visit and use the dos command
    • From the keyboard, press {Alt + left arrow}
  • Can a CheckBox controls a drop down list?

    In my form, I have a dropdown list and a check box next to the list.  The checkbox is labeled "N/a", indicating the information available in the drop-down list are not applicable. I would like to than the box N/A to disable or clear the drop-down list, so it cannot be calculated subsequently.  A Radio button can be programmed to turn off the drop-down list?

    Hello

    I think the problem is that you have lots of instances of objects with the same name. This is indicated by the [0] after the name of the object. This makes it more difficult (not impossible, but more annoying).

    Basically, first try to rename the items so that each has a unique name. Then refer to them in the script.

    If you keep with multiple objects with the same name, then you will need to explicitly tell Acrobat which object you want the script to deal with. This is called solving the node and might look like this (for example depends on the structure of your form):

    xfa.resolveNode("form1.page1.DropDownList1[0]")

    This would apply to all objects in your script that have the same name as other objects in the form.

    Try to name the objects as you go, so that you don't have to change the script later.

    Good luck

    Niall

  • Removal of long list of drop-down list items quickly (ss4)

    I have LiveCycle Designer ES4. I often have a long list of list items in my items from the drop-down list. I want to know if there is a quick way to remove all the items in the list (field tab). I have one at the time a click and remove one at a time. Is there a faster way?

    You can use my macro to create dummy texts.

    Just to empty the text field in the Flex dialog box and click OK, to remove all the values in a drop-down list.

    LiveCycle blog: Lorem Ipsum Generator Makro / / Lorem Ipsum Generator Macro

  • Count the number of drop-down list items based on the selection

    You will need to get an "account" (in the fields of totals at the bottom) of each of the values/items selected in the drop-down "ddClassification". My drop-down fields are labeled ' ddClassification.0, ddClassification.1... etc.

    Should a loop be involved? Been looking around for the answers but can't really find anything. The values in the drop-down list 'ddClassification' are 'Choose', 'Major', 'Minor', 'OBS', 'OFI '. If I could just get help on one of the "total" fields (for example perhaps the total large field) first then I could go from there. All THE HELP is APPRECIATED! Thank you!


    I have attached a screenshot and here is the link for the form: Dropbox - ASSESSMENT_NOTES.pdf
    Screenshot.png

    Yes, this requires a loop. Here's the Basic code structure, which you can use for the total key, for example:

    var total = 0;
    for (var i=0; i<=4; i++) {
        if (this.getField("ddClassification."+i).value==4) {
            total++;
        }
    }
    event.value = total;
    

    Place this code in the script to custom calculation of 'txtMajor '.

    Edit: Name of the field max adjusted from 5 to 4...

    Edit #2: Also adjusted the value of "Major" in the value of exports 4...

  • Access to a drop-down list item

    Hello

    I have a drop down list in my application. I did it in my QML file. Now, by clicking on a button in the page, I get a pop-up asking for confirmation of the issue, I selected in the drop-down list. How can I get the item I selected in the list and post it? can anyone help pls

    Thank you

    without brackets. This is a property, not a function/method.

  • on the drop-down list item event listener

    Hello

    I would like to display ToolTips, once the user holds the mouse on an item from a combobox open.

    If you open the drop-down menu of the combo box, you will see a list of items/ofelements. Each of them can be accessed for example viamyCombo.getItemAt (0).

    It seems to me that I don't get an object with property adata and label. But I think it takes more than that, becausewhen you rest your mouse over a subitem, it will be highlighted. ThisMeans that there is a listener of events on this very simple question. Sohow can I do this?

    myCombo.getItemAt(0).addEventListener(MouseEvent.MOUSE_OVER, ShowToolTip); //impossible
    
    function ShowToolTip(evt)
    {
      trace(evt.currentTarget.label);//stub action
    }
    

    Thanks in advance.

    Gilzad

    If you are looking for the component in the help documents, you will find all the events associated with this object.  If your drop-down list is a component ComboBox, there events such as what you seem to want to have, itemRollOver and itemRollOut, as well as an example of the use of their.

  • Activity Code values are not displayed in the drop-down list of choices

    I added a P6 activity Code (seller) and added some code values it contains. I'm in a position successfully, choose this option in the selected columns list, but when I go to select a value from the drop down, no values are displayed.

    Advice on why this happens or how to fix?

    Thank you
    Bill

    Published by: user12451419 on 18 June 2012 10:47

    When you assign a code by clicking on the column, a window opens. At the top of the window, click on the view bar, and then choose filter by > all values.

  • How are added as a drop-down list in the printer options to create a file PDF Adobe Acrobat?

    How can I add adobe acrobat in the drop down menu the option to printer on my win7 system?

    Original title: create PDF files

    Also: Free Office, Open Office, Microsoft Word (versions), and Word Perfect will save in the form of pdf files. For example, you can create a document save as a pdf or open an existing document, change if you wish and save as PDF.

    Tom Ferguson

  • Value of exports of a selected drop-down list choice

    I have a dropdown list with the "values of selected immediately validation.  One of the items in the list is:

    Point:           This is a test

    The value of exports: Test

    When I select this item, the validate event gives: event.value = "This is a test"

    How can I get the value("Test") to export instead?

    In fact, he thought myself.  In case anyone else is to be able to do this, place the following in the event of audit:

    var value;
    var f = this.getField ("yourListName");

    for (var i = 0; i)< f.numitems;="" i++)="">
    {if (Event.Value == f.getItemAt (i, false))}
    value = f.getItemAt (i, true);
    break;
    }
    }
    this.getField("yourFieldName").value = value;

Maybe you are looking for