Hiding an Object on the Master Page
I'm searching for an answer to a problem: how do you hide an object that's located on the master page of a form??
I have a text field on the master page of my form that displays a predefined string value. I would like to hide this text object (or remove the value) when the form is printed but have the object and/or text re-displayed afterwards. I've tried the following solutions with no success:
- Setting the presence of the object to invisible in the prePrint event and setting the presence back to visible using the postPrint.
- Setting the font color to white in the prePrint event and setting the font color back to black using the postPrint.
- Setting the value of the object to an empty string in the prePrint event and setting the value back to the predefined string value using the postPrint event.
- Setting the relevant property of the object to "-print" in the XML source of the form.
My LiveCycle and javascript knowledge is fairly limited so I'm not sure if I'm approaching this in the wrong way. Any help would be much appreciated...
I have a text field on the master page of my form that displays a predefined string value. I would like to hide this text object (or remove the value) when the form is printed but have the object and/or text re-displayed afterwards. I've tried the following solutions with no success:
- Setting the presence of the object to invisible in the prePrint event and setting the presence back to visible using the postPrint.
- Setting the font color to white in the prePrint event and setting the font color back to black using the postPrint.
- Setting the value of the object to an empty string in the prePrint event and setting the value back to the predefined string value using the postPrint event.
- Setting the relevant property of the object to "-print" in the XML source of the form.
My LiveCycle and javascript knowledge is fairly limited so I'm not sure if I'm approaching this in the wrong way. Any help would be much appreciated...