6 Replies Latest reply on Aug 3, 2012 2:11 PM by gkaiseril

    tick checkbox automatically

    margosacn

      I want the checkbox to be ticked automatically when I input something in the text field. If I delete the content of the text field, the checkbox is unticked.

       

      I wrote the script as below. But it doesn't work. Could you help me out? Thanks.

       

      if(text1.value==""){

      checkbox1.rawValue = false;

      }

      else {

      checkbox1.rawValue = true;

      }