Hi folks
I am having a problem validation a form. Users will be given 5 questions on the screen at a time, with 4 radio buttons for each question (A, B, C, D) for a multiple choice style exam. I am dynamically naming the radio buttons so they correspond to the question ID. The code to output the radio buttons is as follows: <cfinput type="radio" name="#session.exam[i][1]#" value="A" required="yes" message="Please make sure you select an answer for every question!"><strong>A</strong><br> <cfinput type="radio" name="#session.exam[i][1]#" value="B" required="yes" message="Please make sure you select an answer for every question!"><strong>B</strong><br> <cfinput type="radio" name="#session.exam[i][1]#" value="C" required="yes" message="Please make sure you select an answer for every question!"><strong>C</strong><br> <cfinput type="radio" name="#session.exam[i][1]#" value="D" required="yes" message="Please make sure you select an answer for every question!"><strong>D</strong><br> The #session.exam[i][1]# is an array that stores various information about the exam. In this case, session.exam[i][1] is the question ID. However, the "required=yes" tag does not work when I dynamically name the radio buttons. If I give them a static name, it seems to work fine. Am I missing something here? Is there another way (javascript) that I can make sure each group of radio buttons have a selection? By the way, I am using ColdFusion MX 7. Thanks in advance. Steve --- --- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221725 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

