I am needing to get a drop-down box to change different colors depending on the users selection. I have this working fine however the last choice changes the color to a solid fill with a diagonal line pattern. The color changes but the pattern never appears.
The color should be "yellow" with black diagonal lines going from left-upper to right-lower. Please look at what i coded and tell me where I missed it.
Grantee.subform1pg1.Q11DDB.border.fill.color.value = "255,255,153";
Grantee.subform1pg1.Q11DDB.border.fill.pattern.type = "toLeft";
Grantee.subform1pg1.Q11DDB.border.fill.pattern.color.value = "0,0,0";
I greatly appreciate any insight i have changed this dozens of times.
//heres the entire script_________
****----- Grantee.subform1pg1.Q11DDB::exit: - (JavaScript, client) -------------------------------------
if (Grantee.subform1pg1.Q11DDB.rawValue == 1)
{ Grantee.subform1pg1.Q11DDB.border.fill.color.value="211,211,211"; }
if (Grantee.subform1pg1.Q11DDB.rawValue == 2)
{ Grantee.subform1pg1.Q11DDB.border.fill.color.value="255,255,153"; }
if (Grantee.subform1pg1.Q11DDB.rawValue == 3)
{ Grantee.subform1pg1.Q11DDB.border.fill.color.value="255,255,160";
Grantee.subform1pg1.Q11DDB.border.fill.pattern.color.value="0,0,0";
Grantee.subform1pg1.Q11DDB.border.fill.pattern.type="diagonalRight";
}
Met