I have a bunch of separate forms that each have a radio button attached to them. Because they are separate forms it doesn't seem to realize that they are still the same group. Is there a way to fix this?
Answers 1-8 should all be part of the same radio button group and only one of the 8 should be selected at a time.
<label class="control-label">group 1:</label>
<form class="controls">
<label class="radio"><input checked id="optionsRadios1" name="optionsRadios" type="radio" value="workTipe1"> answer 1</label>
<label class="radio"><input checked id="optionsRadios2" name="optionsRadios" type="radio" value="workTipe2"> answer 2</label>
</form>
<form class="controls">
<label class="radio"><input checked id="optionsRadios1" name="optionsRadios" type="radio" value="workTipe1"> answer 3</label>
<label class="radio"><input checked id="optionsRadios2" name="optionsRadios" type="radio" value="workTipe2"> answer 4</label>
</form>
<div>
<form class="controls">
<label class="radio"><input checked id="optionsRadios1" name="optionsRadios" type="radio" value="workTipe1"> answer 5</label>
<label class="radio"><input checked id="optionsRadios2" name="optionsRadios" type="radio" value="workTipe2"> answer 6</label>
</form>
</div>
<form class="controls">
<label class="radio"><input checked id="optionsRadios1" name="optionsRadios" type="radio" value="workTipe1"> answer 7</label>
<label class="radio"><input checked id="optionsRadios2" name="optionsRadios" type="radio" value="workTipe2"> answer 8</label>
</form>
This is just a bare bones example of what I'm working with. In the app, each of these radio buttons exists in a separate form that is created when clicking a button. The form itself contains a header and input boxes. The radio button toggles which is the required one to use in the database. Each of these is tied directly to the form that they are instantiated with.