As you can see in the attached sample file, when clicking either of the buttons a list of given names appears.
A list of family names is always visible.
There are two problems...
One is that the display/nondisplay of the list of given names does not always reflect the state of the buttons. For example, if the page is refreshed then one of the buttons can show clicked status but the list of given names does not appear.
I would like the display/nondisplay of the list of given names always to match the status of the buttons.
The second problem is that the list of family names should not appear until one of the buttons is clicked. It should also be on the same line as the list of given names.
As before, the display/nondisplay of this item should reflect the status of the buttons, even if the page is refreshed or the browser's back button then forward button is clicked.
I just need to see the code that would make this example work as I want it to. I can then install it myself.