Skip to Content
avatar image
Former Member

Dropdown/value help with several values

Hi, I have tried to read/get information about value help and dropdown lists for the input field element but I havent found information about following:

As I have understood, it´s possible to have several fields in the list using value help whether you can only have one field in the dropdown list?

I would like to have a dropdown list for a field A with both a key field (will fill input field A) and a text field. Is that possible, where could I find how to do that?

Thank you,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 16, 2012 at 06:23 AM

    Hi Lena,

    You can do the same what you expect. Follow the below steps.

    1. First fill your drop down values.

    2. Create an action for DropDown UI element onSelect"ONSELECT"

    3. Compare your business query with selected DropDown value, and get the value which you need to set to InputField.

    4. Set the InputField value

    Hope this would resolve your issue.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Lena

      I see what you mean . Unfortunately a dropDown does not show the key and the value, but only

      one item. To show both the key and the value you need to use a pop up window to which you

      can add a table with two columns - key and value. When the user selects a row, you can

      do what ever you wish with both the key and the value. But going this way is a bit longer.

      Anyway you can have a look here.

      regards

      yuval

  • avatar image
    Former Member
    Apr 16, 2012 at 09:40 AM

    Hi Lena

    Let me explain:

    DropDownUi is actually a TableMap in disguise: each item contains a key

    and a value. What we ususally show the user is the value. The key is used

    behind the scene as this is what is later transferred to R3.

    So when the user selects an item (value), we intercept the value,

    through onSelect action, lookup this value in our TableMap and then

    extract the key for this value .

    Here is a tutorial that shows you how to do it.

    This method uses nodeInfo to fill up the values in your dropDown.

    Hope this helps.

    regards

    yuval peery

    Add comment
    10|10000 characters needed characters exceeded