How to code check boxes to behave like a radio button?

Thanks so much Tal, that will definitely help me figuring out how to code this!