5 Replies Latest reply on Jul 15, 2015 8:38 AM by try67

    one checkbox triggers the event of another checkbox

    Sean.twyman Level 1

      I want to check one box and have the event of another box occur not just check the other box.


      i tried:

      var a = this.getField("checkbox1")
      var b = this.getField("checkbox2")
      if(a.value== 'Yes'){
      b.value = "Yes"

      But all that does is check the b box it does not perform he actions of that "b" box.