Avatar

Level 3

Ok great! My row instance is named BugGroup_f. My radio button group is 4 subforms deep within this. My updated code looks like this but is only changing which radio button is selected. It does not seem to be hiding the instances.

var otherDetailLines = xfa.resolveNodes("BugGroup_f[*]");

for (i = 0; i < otherDetailLines.length; i++)
    {
    if (otherDetailLines.item(i).resolveNode("employees.P1.BugGroup_f.detail3.bugInfo.BugItem.status.RadioButtonList").rawValue = "2")
            {
                otherDetailLines.presence = "hidden";;
            }
    }

Message was edited by: malaki - I was able to tweak something which got me closer. I changed the var