2 Replies Latest reply on Feb 23, 2015 11:52 AM by yeungyam

    Cancel setFocus

    yeungyam Level 1

      I have a checkbox that if clicked asks for more information, so I used setFocus.

       

      if(this.getField("Cancel").value = "1")
      {
      getField("SpecifyCancellation").setFocus();
      }
      
      

       

      The problem is when I try to remove the check on that box, it still setFocus to that text field and will not uncheck the box.