Skip to Content
0
Former Member
Feb 02, 2010 at 02:14 PM

Color in Text Field

1737 Views

Hi Guru,

I have the requirement to Highlight filed when the field is Read-Only field.

I try to put the code as below for both javascript and FormCalc.

FormCalc

this.fillColor = "224,224,224"

this.border.fill.color.value = "224,224,224"

JavaScript

xfa.form.data.Page1.IT0014.WageType.Amount.fillColor = "224,224,224"

It is nearly work except the Label is also hightlight. What should I add in the code to highlight just only tex field not for both label and text field.

Thanks in advance for your help.

Regards,

Visut