2 Replies Latest reply on Oct 15, 2010 10:22 AM by domvincy

    Textfield presence not functioning


      I have a form with a textfield whose visibility I want to control with a checkbox. My code for some reason would not work.

      This is my code

      if ( CheckBox1.rawValue == true )
      rpl_nodename.presence = "visible";


      rpl_nodename.presence = "hidden";



      I know the logic works because I can put text in the textfield ( rpl_nodename.rawValue="this is a test"), but I cannot seem to get it change from hidden to visible


      Please help.