1 Reply Latest reply on Oct 19, 2011 10:04 AM by George_Johnson

    Help with Checkbox Script!

    LLNunez

      Hello,

       

      I have created a checkbox (named "Check Box1") and would like for this checkbox to show a button (named "Add Form") but if the box is unchecked then I'd like this "Add Form" button to remain hidden again. I have placed a JS under the checkbox but keep getting a syntax error:

       

      if(this.rawValue==1)

      {

      Add Form.presence="hidden";

      } else {

      Add Form.presence="visible";

      }

       

      Could someone help me get this script working? Your help is much appreciated!

       

      Omar