I have this code in a non repeating section <input type="checkbox" name="attr_showstrike-rank" checked="checked" style="display: none"> <div class="sheet-strike-rank"> <input style="width:35px" type="number" name="attr_Grapple_sr" /> </div> .charsheet div.sheet-strike-rank{ display: none; } .charsheet input.sheet-showstrike-rank:checked ~ div.sheet-strike-rank { display: inline; } I am trying to get this to work for a repeating section. <input type="checkbox" name="attr_showstrike-rank" checked="checked" style="display: none"> <fieldset> <table style="width: 100%;"> <tr> <td> <div class="sheet-strike-rank">
<input style="width:35px" type="number" name="attr_melee_sr" />
</div>
</td> input.sheet-showstrike-rank:checked ~ .repcontainer[data-groupname=repeating_Hand-to-Hand] div.sheet-strike-rank { display: inline; }
.charsheet div.sheet-strike-rank{
display: none;
}
It based on code from the CCS Wizardry page 4 here do search for " div.repcontainer[data-groupname=repeating_my-fieldset-name]" Currently it just stays hidden.