checkbox hides the row in the first table only
Good day,
I have a checkbox in the master page, which when checked, makes visible a row with text field in a table. I also have a button to add a table and the row is visible when added if the box is checked. I also have a script in the checkbox that when unchecked, the row in the table hides again. The problem is that when I uncheck the box, it only hides the row in the first table but not the other tables that were created. I need to have the row in each table hidden. I could not find any scripts/information on how to accomplish this. Please help. One of the scripts in the checkbox is...
if (this.rawValue == "0") {
this.resolveNode("howobtainedsubform.cardssubform.CARDS.Table1.Row10.encodedinfo").presence = "hidden"