Avatar

Level 2

Great trick. 

The path was indeed similar.

Here's the code I tried for the Reset button... still doesn't work though:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

form1.Page2.Subform-Page2-info.ResetButton1::click - (JavaScript, client)

xfa.host.resetData();

xfa.resolveNode("Page1.Subform-Page1-Info.WOresolution14")

//Clear out the WOresultion14 DDlist

WOresolution14.rawValue = "";

WOresolution14.clearItems();

var vName = WOresolution14.somExpression;

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

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

WOresolution14.font.weight = "normal";

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Unfortunately, it does not work still... the same thing happens when I click the Reset button.