Yes, but how could I really make the radiobutton name unique as it is in the
loop.
Is there any other way I can do if this is not the best approch??
Thanks,
>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
>
>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:319062
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4