You have to group all the radio buttons that are related.
To do that, you give them all the same
name
.
For example.
Male: <input type="radio" name="gender" value="male">
Female: <input type="radio" name="gender" value="female">
They can have different ids but they need to have the same
name
In your case, you would have three radio buttons with the same name, different ids and, different values.