6 Replies Latest reply on Mar 21, 2011 11:16 AM by bcw788

    Checkbox Help

    bcw788

      Hey, I'm very much a beginner at all of this. I am trying to put a checkbox on my form and if you check the box, a section of text becomes striked through. If you leave it unchecked, the text does not change. Here is what I've written that does not seem to be working...

       

      if (CheckBox1.rawValue==true)

      TextField1.font.lineThrough= "2";

      else

      TextField1.font.lineThrough= "0";

       

      The language is set to JavaScript. One thing I'm not sure about is the "Show" value in the Script Editor. How do you know whether to choose, Enter, Initialize, Calculate, Validate...etc. Any advice would be helpful, thanks!