I am struggling with the code (below) in Acrobat, Text Field Properties/Format/Custom/Custom Format Script. The text displays gray as desired; however, the entered text also appears gray in the field. I want the end user's text to appear black. Does anyone have a solution to this issue?
if (!event.value) {
event.value = "Click here to enter Program Title"; // your instructional text will go here;
event.target.textColor = color.ltGray;
event.target.display = display.noPrint;
}
else {
event.target.textColor = color.black;
event.target.display = disply.visible;
}
if (!event.value) {
event.value = "Click here to enter Program Title"; // your instructional text will go here;
event.target.textColor = color.ltGray;
event.target.display = display.noPrint;
}
else {
event.target.textColor = color.black;
event.target.display = disply.visible;
}