3 AnswersNew Answer
Ayush Tripathi, you will have to add the radio buttons in a Button Group. It is a characteristic property of RadioButtons in both Java and HTML, until it is in a ButtonGroup. You can use the following to create a group: <div class="btn-group"> <button>Name</button> <button>Class</button> <button>Rollno</button> </div> OR <form> <input type="radio" name="btn-grp" value="Name" checked> Name<br> <input type="radio" name="btn-grp" value="Class"> Class<br> <input type="radio" name="btn-grp" value="Rollno"> Rollno </form> Make sure to have the same name(Here btn-grp).
then maybe youre declaring several seperate radios thinking they are linked together
If you link your code, i would be happy to have a look and help out where i can