Float Label in pdf
I am trying to make a float label in an iterative pdf form. I currently have this and its not working. Any ideas?
if (!event.value) {
event.value = "For Translated French";
event.target.display = display.noPrint;
} else {
event.target.display = display.visible;
}
// On Focus script:
if (event.target.value==event.target.defaultValue) {
event.target.value = "";
event.target.textColor = color.black;
}
// On Blur script:
if (event.target.value=="") {
event.target.value = event.target.defaultValue;
event.target.textColor = color.ltGray;
}
