1 Reply Latest reply on Mar 13, 2014 2:36 AM by try67

    Problem in PDF form


      I have created a form with a couple of fields. I have two input text fields (say partA and partB) and another radio button field with two values 'Yes' and 'No'. The logic is that when only one of the input fields is filled (the other remains empty), then the 'Yes' option is clicked of the radio button.


      Thanks in advance for your help.

        • 1. Re: Problem in PDF form
          try67 MVP & Adobe Community Professional

          Custom validation script for partA:


          this.getField("Radio1").value = (event.value!="" || this.getField("partB").valueAsString!="") ? "Yes" ? "No";


          Custom validation script for partB:


          this.getField("Radio1").value = (event.value!="" || this.getField("partA").valueAsString!="") ? "Yes" ? "No";