3 Replies Latest reply on Feb 28, 2017 1:20 PM by try67

    Select RadioButton based on dropdown values

    Heliosoz

      Hey Everyone,

      I'm trying to populate a radiobutton selection based on the values of two drop down values in Adobe Acrobat X. Here's my javascript, but it doesn't populate the radiobutton/check it. I've put the javascript as a validate event in the second dropdown, although it doesn't work under calculate either.

       

      if(this.getField("ddlOne").value == "Admin" && event.value == "User") 
      {
      this.getField("Checkbox").value = "On";
      }
      

       

      Any ideas ?