Avatar

Level 10

Hi,

I would be very surprised if you have to resolve the node,

So try this:

xfa.host.resetData();

//Clear out the WOresultion14 DDlist

Page1.Subform-Page1-Info.WOresolution14.rawValue = "";

Page1.Subform-Page1-Info.WOresolution14.clearItems();

var vName = Page1.Subform-Page1-Info.WOresolution14.somExpression;

var fieldObj = xfa.resolveNode(vName + ".ui.#choiceList.border.fill.color");

fieldObj.value = "255,255,255";

Page1.Subform-Page1-Info.WOresolution14.font.weight = "normal";

Your resolveNode script wasn't doing anything (eg it wasn't assigning the resolved node to a variable). See the difference - hopefully that will work.

Niall