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
Views
Replies
Total Likes
Hi,
you should not be using calculate for this, you should use the docReady event instead.
Views
Replies
Total Likes
Thank you – I will try that. Christina
Views
Replies
Total Likes