I have a text field overlayed on a set of lines on a form. I would like to put a format script in the field, which evaluates if there are any
contents, and if there are, sets the fillColor to white(thus hiding the lines), and if there are no contents, sets the fillColor to transparent (thus showing the lines).
It seems that this should be simple enough, but I don't have much experience with scripting. Thanks for the help!
if (getField(fieldName).value == "")
{
this.getField(fieldName).fillColor = color.transparent;
}
else
{
this.getField(fieldName).fillColor = color.white;
}
-----------------------------------------------------------------
;-)
abracadabraPDF.net