4 Replies Latest reply on Dec 9, 2015 10:12 AM by vijayr36362419

    Can I access the face value and export value of a listbox on a form?

    vijayr36362419

      HI. I have a list box (listA) and two text boxes (text1 and text2). Each item in the list box has an export value. Can I access both the face value and export value from the listbox so as to populate the text boxes with each of the two values. Here is sample script I am trying to acheive:

       

      var lb = this.getField("listA");

      var t1 = this.getField("text1");

      var t2 = this.getField("text2");

      t1.value = lb.facevalue; // How do I achieve this?

      t2.value = lb.value // this gives me the export value from listA in text2

       

      Thanks