0 Replies Latest reply on Apr 24, 2010 5:58 AM by SRO69

    Acrobat Java Script Help - Editable Text in Combo Box

    SRO69

      Can anyone out there help me, I am trying to come up with Java Script for Adobe Acrobat that refers to another combo box, if the criteria is met, then auto-fill another combo box with some editable text.  I have pieced together the code to search and fill the combo box with the defaulted text, the problem I am having is once it is populated, I need the ability to edit it.  Anytime I edit it, it goes back to the default - can anyone help?

       

      Here is my current code:

       

      var TEXT = this.getField("Combobox1").value;

       

      if (TEXT.match("Criteria")) event.value = "Default Text";