I'm making my own roleplaying game and for test games I want to implement the digital token. One of the species in my game (the enhanced humans) need to have a menu to choose which of the 6 characteristics to add points to. But having the menu appear only after choosing that species is getting complicated for me. So far I have an attribute to act as a switcher and I had read here that with CSS you can make it change the style according to a value but for my case it is not working and I'm a little frustrated with this. This is the HTML code: <label for="char_species"> Especie: <select id="attr_species" name="attr_species"> <option value="0,0,0,0,0,0">Selecciona</option> <option value="0,1,0,2,0,0">Asajaf</option> <option value="0,0,1,0,2,0">Cudoonianos</option> <option value="2,0,1,0,0,0">Denduros</option> <option value="0,0,0,0,1,2">Floidianos</option> <option value="human_normal">Humanos</option> <option value="human_modified"> -Humanos Mejorados</option> <option value="0,2,0,0,0,1">Lagartianos</option> <option value="0,1,0,0,2,0">Luminianos</option> <option value="2,0,0,1,0,0">Munbatiános Primal</option> <option value="1,0,0,2,0,0"> -Munbatiános Albinos</option> <option value="0,0,2,0,1,0">Petronianos</option> <option value="0,0,0,2,1,0">Psicofungunianos</option> <option value="1,0,0,1,1,-2">Robot</option> <option value="0,0,0,2,1,-2"> -Droide</option> <option value="0,0,0,1,1,1"> -Artificial</option> <option value="0,3,0,0,0,0">Vulkari</option> <option value="1,0,2,0,0,0">Xerakith</option> <option value="0,0,2,0,0,1"> -Xerakith Líder del enjambre</option> </select> </label> <div> <input type="hidden" name="attr_hidecheck" class="hidechecker" value="0"> <div id="modified_options" class="hider"> <label for="first_choice"> First Choice: <select id="first_choice" name="first_choice"> <option value="physical">Physical</option> <option value="accuracy">Accuracy</option> <option value="fortitude">Fortitude</option> <option value="intellect">Intellect</option> <option value="knowledge">Knowledge</option> <option value="social">Social</option> </select> </label> <label for="second_choice"> Second Choice: <select id="second_choice" name="second_choice"> <option value="accuracy">Accuracy</option> <option value="physical">Physical</option> <option value="fortitude">Fortitude</option> <option value="intellect">Intellect</option> <option value="knowledge">Knowledge</option> <option value="social">Social</option> </select> </label> </div> </div> The current CSS to manage this switch of styles by class: .charsheet input.hider { display: none; } .charsheet input.hidechecker[value="1"] ~ input.hider { display: block; } And the Sheetworker behind: // Listener principal para species y char_* on('change:attribute', (obj) => { const attributeName = obj.get('name'); const characterId = obj.get('_characterid'); updateAttribute(characterId,'hidecheck', 0); if (!characterId) { return; } if (attributeName === 'species') { const speciesValue = obj.get('current'); humanRnot = "not"; if (speciesValue === 'human_normal') { humanRnot = "human"; assignMaxGenomeBonus(characterId); // Recalcular genoma y resultados } else if (speciesValue === 'human_modified') { updateAttribute(characterId,'hidecheck', 1); } else { const speciesValues = speciesValue.split(',').map(Number); if (speciesValues.length !== 6 || speciesValues.some(isNaN)) { return; } attributeMapping.forEach((attr, index) => { const genomeAttr = `${attr}_genome`; const baseAttr = `char_${attr}`; const resultAttr = `${attr}_result`; updateAttribute(characterId, genomeAttr, speciesValues[index]); updateResult(characterId, baseAttr, genomeAttr, resultAttr); }); } } else if (attributeName.startsWith('char_') && humanRnot === "human") { assignMaxGenomeBonus(characterId); } }); Thank you all!!!!