I have three radio groups. and a function to show the value of the selected one, the same function for each one associated with the id of the radio group. To be clear create a file jsfiddle link
By showing the value of the selected input of a certain group, the one that has been selected from the first upper group, which already has some selection, is shown in three rows. If you start from the bottom row, it goes well, but once you have selected a higher one, when you change the selection of the lower group, the value of the first group that has a selection is displayed.
can be tested in the file with the link. I appreciate your interest. Greetings