you have to make the name of the radio button unique for every question - hard coded this would give radio1 for question1, radio2 for question2 and radio3 for question3
M -----Original Message----- From: Priya Koya [mailto:[email protected]] Sent: maandag 9 februari 2009 4:41 To: cf-talk Subject: Grouping of Radio Button This is my Code: <cfform method="post"> <cfloop index="mainloop" from="1" to="3"> <cfoutput>This id Question#mainloop#</cfoutput> <cfloop index='loop1' from="1" to="3"><br/> <cfinput type="radio" name="radio1" value="1a" required="yes" message="Please select the right option"></br> </cfloop> </cfloop> <cfinput type="Submit" name="Submit" value="Submit"> </cfform> <cfif isDefined("form.Submit")> <cfoutput>#form.radio1#</cfoutput> </cfif> The output for this is Question and 3 choose of radio button. I need to choose one option for each of the question. but now I can choose only one option for all the questions i.e one in 9 radio button. Can any one help with this????? Thanks in Advance, Koya ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319061 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

