8 Replies Latest reply on Feb 17, 2016 3:35 PM by B0nb0n12345

    Javascript where text in Text Box A will trigger a text in Text box B?

    B0nb0n12345

      Hello,

       

      I've been trying to find a code in which a text in Text Box A will trigger text in Text Box B.  I am currently using a code that works when I type in the text on the form itself.  However, when I have the pdf file run through a program that pre-populates text in Text Box A, it won't trigger text in Text Box B.

       

      I am using this code:

       

      if (event.value!=" ") this.getField("Text Box B").value= 20

       

       

      I am not sure if there something I have to change because text box A has a prepopulated text?