Avatar

Level 2

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