I have one switch at the top of the page to show "No Chosen Supplier", and then several other switches in the 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 that I encountered is that if I select a radio button inside the loop, then we select a radio button that is outside the loop, while inside the loop it remains selected at the same time as outside.
How can I get it so that when the outside is selected, the inside becomes unselected?
Hope this makes sense.
Alias source share