How do I change the background color of textField2 based on the value entered in textField1(Acrobat DC)?
Could you please help me solve this issue (I'm new to adobe acrobat dc):
Javascript written in textfield1(Color1) - Actions:
var C1 = this.getField("Color1");
var S1 = this.getField("Swatch1");
switch (C1.rawValue)
{
case "PMS 100":
S1.border.fill.color.value = "0,174,239";
break;
case "PMS 101":
S1.border.fill.color.value = "236,0,140";
break;
}
