Setting FillColor to transparent


hello all,

i having problem form laying out in livecycle designer. have textfield users click on , enter information. after users done updating text field, if text field contains value want fillcolor white. if text field contains no value, want tranparent.

i have code check see if text field empty or if has value. problem in making field transparent. in previous versions of acrobat used use:

this.getfield("fieldname").fillcolor = color.white;

and

this.getfield("fieldnme").fillcolor = color.transparent;

this.getfield no longer works new acrobat. instead, livecycle designer, white, using:

this.fillcolor = "255", "255", "255";

which works perfectly. don't know how set transparency.

this.fillcolor = color.transparent;

does absolutely nothing.

does know doing wrong?

thanks in advance,
matt

what's ultimate goal doing this? trying make field disapear if has no value?

chris
adobe enterprise developer support


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments