1 Reply Latest reply on Nov 23, 2012 9:54 AM by George_Johnson

    exportvalue of Dropdownbox




      I try to the exportvalue of a dropdownbox but don't get the proper result. I reduced it to a test script to find the mistake but did not.


      here my code:


      if (event.willCommit)


      this.getField("Text9").value = this.getField("Dropdown").value;



      In a test, I have 4 fields apples, pears, banana, other with exportvalue 1, 2, 3, 4.


      Selecting apples I get 2, selecting pears I get 3 etc


      what's wrong