4 Replies Latest reply on Jan 22, 2016 5:24 AM by NHJB MHP

    Display Export Value of dropdown instead of Item

    NHJB MHP Level 1

      I'm trying to show the Export Value of a dropdown instead of the selected option i.e. the user selects BLACK but the export value of BLK is actually displayed.  I can find lots of discussions on how to pull the export value and display it or use it to trigger another response in another field and I can usually tweak my existing JavaScripts when I need something new but I cannot seem to wrap my head around this!


      This is my latest (failed) attempt

      var f = this.getField("eyes");

      if (event.value == "Black - BLK")

      f.value = "BLK"


      I'm using Acrobat PRO DC.


      Any help is appreciated,