Need checkbox to automatically check when others are checked
I need "Solid Organ Transplant Services" (which is Row112.CheckBox26) to automatically check when any of the check boxes below it are selected. I don't know javascript (at all), but I'm thinking it will need to be entered as a mouseUp script for each of the sub-checkboxes? I tried the below script that I found in this community in the "Islet cells" box and it did not work. This is probably something very easy but I don't have the foundational knowledge to figure it out. Thank you for your help.
if(event.target.isBoxChecked(0)){
this.getField("Row112.CheckBox26").checkThisBox(0,true);}
else
this.getField("Row112.CheckBox26").checkThisBox(0, false);}

