8 Replies Latest reply on Nov 26, 2014 12:48 PM by frustrared by install

    Use both item and export value of dropdown to populate two text fields when drop down is already populate!

    frustrared by install Level 1

      I have a dopd2 that has Name as item and unique number for each name in export value. The drop down is already populated.

       

      I am using

      event.value = ""; // clear the field;

      var oField = this.getField("drop2");

      if(oField != null) {

      // populate if not null;

      // get the value of the field object;

      event.value = oField.value;

      }

       

      to populate a text filed with the exported value of the dropd2 (number), how can it change to get the item value (what the user see when pick from dropdown) to populate another text field.

       

      thank you in advance!