I need to loop through sub forms and see if a check box is checked. If the box is not checked I want the sub form presence to be hidden when the user clicks a button. I can loop through the forms but I'm stuck from there. Thanks for any assistance you can provide.
var oNodes = CRT130.nodes;
var nodesLength = oNodes.length;
for (var i = 0; i < nodesLength; i++) {
if (CheckBox1.rawValue == "0") {
oNodes.item(nNodeCount).presence = "hidden";
}
}