Have a look at this topic: EXAMPLE (template) - displaying a list using Radio buttons, returning the selection, reversing the selection