Forms WITHOUT components?

Can anyone give an example of how to make a radio button without using a component? I mean the data functions such as sending the value, and turning off all the other buttons in the group when clicked.