You haven’t given your radio buttons any values. So, as per the radio button documentation:
If you omit the
value
attribute in the HTML, the submitted form data assigns the valueon
to the group.
You seem to be under the impression that the id
attribute assigns the value of the radio button, but it doesn’t – that just sets a unique identifier for that particular HTML element within the document / page, just like any other HTML element. It has nothing to do with a form field’s value.
To correct this, change the id
to value
on all your buttons, e.g.