Give them the same name with different values
<input type="radio" name="yourbutton" value="yes">&nbsp;Yes<br>
<input type="radio" name="yourbutton" value="no">&nbsp;No


-----Original Message-----
From: FlashGuy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 1:23 PM
To: CF-Talk
Subject: <input radio buttons


HI,

I have the following radio buttons:

            <input type="radio" name="Yes">&nbsp;Yes<br>
            <input type="radio" name="No">&nbsp;No

Currently I can click on both the "yes" and "no" and they both get selected.
I don't want that to happen. The user should only be able to select one.
How can I do this?

I also have another list of radio buttons with 5 items but only want to
allow the user to select one and NOT multiples.



---------------------------------------------------
Colonel Nathan R. Jessop
Commanding Officer
Marine Ground Forces
Guatanamo Bay, Cuba
---------------------------------------------------




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to