Salutations Hivemind! I've been pulling my hair out on what is probably a simple problem but unfortunately Javascript isn't my forte. I'm currently redesigning a Dnd sheet to accommodate psionic characters and I've been trying to make a list with toggles in which only one can be selected at a time.  Unfortunately, I can't use a radio input since it is in a repeating section, so I'm stuck using checkboxes and it is becoming a nightmare.   Here are the relevant HTML and Script for my issue, if you have any pointers, I would be grateful!  HTML Segment   <fieldset class="repeating_focuses">       <div class="sheet-fieldset-item">    <div class="sheet-checkbox-cog">     <input type="checkbox" name="attr_options-flag" checked="checked"><span></span>     <span class="sheet-toggle-icon"></span>    </div>    <input type="checkbox" name="attr_options-flag" checked="checked" class="sheet-toggle" hidden>    <div class="sheet-toggle-checked">     <div class="sheet-form">      <div class="sheet-form-header">Edit Focuses & Masteries</div>      <div class="sheet-form-body">       <div class="sheet-form-group">        <input type="text" name="attr_focus_description">       </div>      </div>     </div>    </div>   <div class="sheet-toggle-unchecked">    <div class="sheet-pc-focus">     <div class="sheet-checkbox-image">      <input type="checkbox" name="attr_checkfocus" value="1" >      <input type="hidden" name="attr_usedfocus" value="0"/>      <span></span>     </div>     <span name="attr_focus_description"></span>    </div>   </div>  </div> </fieldset>      Script Segment     on("change:repeating_focuses:checkfocus", function(event) { 	getAttrs(["repeating_focuses_usedfocus"], function(v){ 		setAttrs({repeating_focuses_usedfocus: "1"}); //Flags this repeating item as the one currently active 			const test = event.newValue; 			if(test == "1"){                           getSectionIDs("repeating_focuses", function(ids){ 			        for(var i=0; i< ids.length; i++){ 				    updateFocus(ids[i]); 			        } 			    }); 		        } 	}); });  const updateFocus = function(focusID){ 	const focusElements = ["repeating_focuses_"+focusID+"_checkfocus", "repeating_focuses_"+focusID+"_usedfocus"]; 	getAttrs(focusElements, function(v){ 		var focusCheck = v["repeating_focuses_"+focusID+"_checkfocus"]; 		var focusUsed = v["repeating_focuses_"+focusID+"_focus_usedfocus"]; 		if(focusCheck == "1" && focusUsed == "0"){ 			setAttrs({ 				repeating_focuses_checkfocus: 0 //Unchecks all other focuses within the repeating section 			}); 		}else if(focusCheck == "1" && focusUsed == "1"){ 			setAttrs({ 				repeating_focuses_usedfocus: 0 //Resets the the flag for the item being modified 			}); 		} 	}); };