I have one radio button at the top of the page to show 'No Chosen Supplier' and then several other radio buttons within a query loop.
<label>
<input type="radio" id="nosupp" name="nosupp" onchange="resetSupp(this);">
No Supplier Chosen
</label>
<cfloop query="supplier"
<label>
<input type="radio" id="chk1" name="chooseSupp" onchange="change(this);">
Chosen Supplier
</label>
</cfloop>
The problem I am having is, if I select a radio button inside the loop, then select the radio button that is outside the loop, the one inside the loop remains selected at the same time as the one outside.
How do I get it so that when the outside one is selected, the inside one becomes unselected?
Hope this makes sense.
name
.. is there a reason you're not doing that? – Lovmilla