How to make a check box behaves like a radio button
I would like to have a java script to un check a check box when the other is checked means this should behave like radio button can any one help me
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dorababu MekaRank #457 · 5.5K reputationPosted Jun 14, 2011, 12:13 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Jun 14, 2011, 3:08 AM EDT
Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jun 14, 2011, 8:13 PM EDT
I am not sure about Chaitanya's requirement. But think about the scenario where you may choose one or none of the values. I came across with this kind of requirements many times and it is a valid scenario.
Suthish NairRank #92 · 22.8K reputationPosted Jun 14, 2011, 10:28 PM EDT
we can handle this on radion button also..
function checkRadio(control) {
Any way different requirement
Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jun 15, 2011, 5:33 AM EDT
Programmatically you can handle any logic. But think in business prospective? Have you seen any where un-checking radio button on second click is been used.