PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

I think it is:

f.fillColor = color.transparent;

where f is the representative variable of the given field as in:

var f = this.getField("FieldName");

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lauterbach.Mark
Sent: Monday, January 12, 2004 9:22 AM
To: [EMAIL PROTECTED]
Subject: [PDF-Forms] transparent color?


PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

I'd like to write a little script that will control the background color
of a form field based on whether or not the user is typing data into
said field.

If they start typing, I'd like the background color to be white.  But if
the field remains empty, I'd like the background color to be transparent
so the image shows through.

What is the syntax for transparency?  
fillColor = color.clear?
fillColor = color.blank?
fillColor = false?

Any ideas?

Thanks,

Mark

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html

Reply via email to