Good day,
For some reason, the script is not working. The script needs to kick in when it's unchecked after being checked. I entered the incorrect row information in my question. This is what I have in the "change" of the check box.
var oNodes = xfa.resolveNodes('howobtainedsubform.cardssubform[*].CARDS[*].Table1[*].Row1[*].type');
for (var i = 0; i < oNodes.length; i += 1) {
oNodes.item(i).presence = "invisible";
}
After the box is unchecked, then the row needs to be hidden in all tables created. This is so that if the user realizes they made a mistake and checked the box after creating multiple tables, this script will hide the row in all of them at once.