3 Replies Latest reply on Apr 21, 2017 7:47 PM by tre678990

    Javascript - How to  populate a text field with a string of text based on the selection of two dropdown lists

    tre678990

      Greetings. I have looked all over for this solution and am hitting a wall.

       

      I have two dropdown lists on my Adobe Acrobat DC form. Here is the pseudocode I am trying to create into a javascript action:

       

      If (dropdownList1 value == "department1") && (dropdownList2 value == "building1") then textBox value == "Mr. Church"

      else

      textBox value == " "

       

      Anyone had any luck getting something like this working?

       

      Thanks.

       

      [Moderator moved from non-technical forum Lounge to JavaScript .]

       

      Nancy