Game system has about a dozen preset combat maneuvers. Players can purchase additional combat maneuvers. I would like a radio button for the player to select which combat maneuver their character will use. Here is a stripped down code sample: <div class="line">
<div class="am0"><input type="radio" name="radio_maneuver" /></div>
<div class="am1">Shove</div>
<div class="am2">-1</div>
<div class="am2">-1</div>
<div class="am4">Push 1m per 5 STR</div>
</div>
<div class="line">
<div class="am0"><input type="radio" name="radio_maneuver" /></div>
<div class="am1">Strike</div>
<div class="am2">+0</div>
<div class="am2">+0</div>
<div class="am4">STR or Weapon</div>
</div>
<div class="line">
<div class="am0"><input type="radio" name="radio_maneuver" /></div>
<div class="am1">Throw</div>
<div class="am2">+0</div>
<div class="am2">+0</div>
<div class="am4">Throw w/ STR dmg</div>
</div>
<div class="line">
<div class="am0"><input type="radio" name="radio_maneuver" /></div>
<div class="am1">Trip</div>
<div class="am2">-1</div>
<div class="am2">-2</div>
<div class="am4">Knock target prone</div>
</div>
<fieldset class="repeating_maneuvers">
<div class="line">
<div class="am0"><input type="radio" name="radio_maneuver" /></div>
<input type="text" class="am1 edit-show" name="attr_maneuver_name" value="" />
<input type="text" class="am2 edit-show" name="attr_maneuver_ocv" value="" />
<input type="text" class="am2 edit-show" name="attr_maneuver_dcv" value="" />
<input type="text" class="am4 edit-show" name="attr_maneuver_effect" value="" />
</div>
</fieldset>
The above does not work because the repeating field rowid is added to the attribute name. Is there a way to do this? Currently, I can only think of using checkboxes and adding javascript that will clear all other checkboxes anytime one is checked.