2 Replies Latest reply on Aug 22, 2014 9:47 AM by tucson102

    have presence object hidden at beginning

    tucson102

      Cannot get object to be hidden when document opens.  Object become present or hidden once calculation starts.  Have tried all

       

      form1.Page1_InOut.colorOn_Offlbs[1]::calculate - (JavaScript, client)

       

      this.rawValue = "";

      ImageField1.presence = "hidden";

      if (poundsOn_Off.rawValue > 1)

      {

      this.fontColor = "255,0,0";

      ImageField1.presence = "hidden";

      this.rawValue = poundsOn_Off.rawValue;

      }

      else

      {

      this.fontColor = "0,255,0";

      ImageField1.presence = "visible";

      this.rawValue = poundsOn_Off.rawValue;

      }

       

      Thanks for your help!

      Christina