
My current css:
input[type="checkbox"]:checked + input[type="number"],
input[type="checkbox"]:checked + input[type="text"],
input[type="checkbox"]:checked + label,
input[type="checkbox"]:checked + span {
text-decoration: underline;
} My current attempt at HTML <tr>
<td>
<input type="checkbox" name="attr_wound_treated" value="1">
<span class="label" data-i18n="wounded">Wounded</span>
<input type="checkbox" name="attr_wounded" value="1">
</span>
</td>
</tr> What I am looking to do is on the character sheet is have checkbox (that is hidden) (attribute wound_treated) that when you click on the label wounded will Underline wounded and when you click on it again it removes the underline from wounded, but we need another checkbox (Not Hidden) that when checked is wounded and when unchecked the character is not wounded. unfortunately with my current attempt what I am getting is a visible checkbox first for wound_treated that does underline the label when checked and normal when not, but I am also getting two visible checkbox one before and after the wounded Label that represents the (attribute wounded). any help is appreciated.