Avatar

Level 3

Even closer now: My code is looping through and hiding the right rows but now i cannot unhide them. any help?

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

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

     else if (otherDetailLines.item(i).resolveNode("BugGroup_f.detail3.bugInfo.BugItem.status.RadioButtonList").rawValue != "6")
            {
                otherDetailLines.item(i).presence = "visible";
          }
}