7 Replies Latest reply on Jul 20, 2011 2:25 PM by kfmc2010

    javascript for popup window

    kfmc2010 Level 1

      I'm creating a form in Acrobat and would like to have a popup presented to the user with a message under certain conditions.  How do I create a popup message with javascript?

       

      here's a simple example of what I'm trying to do:

       

      var f = this.getField("State")

      if
        (f.value == "NJ")
      {
         !!!!!! HERE I want a popup box with an OK button (for example "This is not a valid option since you selected NJ as state")
      }

       

       

       

       

      thanks