I'm working on an application with lots of radio buttons, and I think I have 
discovered a bug.

Both rows have the SECOND radio button selected when executing the following 
script, even though the FIRST one needs to be selected in the second row. What 
am I doing wrong?

The workaround is to make all values unique, but that's not what I want.


--------------------------------------------------------------------------------

<cfform action="test.cfm" method="POST" format="XML" id="formname">

<cfformgroup type="horizontal" label="First choice:">
<cfinput type="Radio" name="fieldname_a" value="firstselection" checked="No" 
label="0">
<cfinput type="Radio" name="fieldname_a" value="secondselection" checked="Yes" 
label="1">
<cfinput type="Radio" name="fieldname_a" value="thirdselection" checked="No" 
label="2">
<cfinput type="Radio" name="fieldname_a" value="fourthselection" checked="No" 
label="3">
</cfformgroup>

<cfformgroup type="horizontal" label="Second choice:">
<cfinput type="Radio" name="fieldname_b" value="firstselection" checked="Yes" 
label="0">
<cfinput type="Radio" name="fieldname_b" value="secondselection" checked="No" 
label="1">
<cfinput type="Radio" name="fieldname_b" value="thirdselection" checked="No" 
label="2">
<cfinput type="Radio" name="fieldname_b" value="fourthselection" checked="No" 
label="3">
</cfformgroup>

</cfform>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231143
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to