
So...I am working on a project that invovles a character shifting into other forms that change their form in predictable ways, adjusting multiple stats. I figured if I can make a couple groups of radio buttons for each stat, with each column of radio buttons match a particular form. Later- and this is where I am asking for the magic- a button would be down at the bottom of each column. Clicking that button would select all the radio buttons in that column. For example, if I had the forms of "Cute & Fast & Fluffy", "Ugly & Quick & Scaly" and "Horrific & Slow & Fuzzy", the radio buttons could go like this: <input type="radio" name="attr_looks" value="Cute">
<input type="radio" name="attr_looks" value="Ugly">
<input type="radio" name="attr_looks" value="Horrific"> <input type="radio" name="attr_speed" value="Fast">
<input type="radio" name="attr_speed" value="Quick">
<input type="radio" name="attr_speed" value="Slow"> <input type="radio" name="attr_cuddle_value" value="Fluffy">
<input type="radio" name="attr_cuddle_value" value="Scaly">
<input type="radio" name="attr_cuddle_value" value="Fuzzy">
...and then I have a button to select all the first of each group (cute, fast and fluffy), another button to select the second of each group, and so on. Is there any way to do this without slipping into the dreaded API scripts?