Different groups of radio buttons with the same name I need to create several groups of radio buttons, grouped by a concept (collapsible) but the radio buttons must have the same name so that the form only sends one selected option among all the groups

Group 1
() Radio 1
() Radio 2
() Radio 3
Group 2
() Radio 4
() Radio 5
Group 3
() Radio 6
() Radio 7


I am developing a shipping method of commerce_shipping
This form is for choose a shipping service details, therefore I only generate a part of the form of the checkout page in the function that defines the details of the service, using the commerce_shipping API.
I test to set the #name property for all radio buttons but I lose the form tree, and I need to keep it so that another function can receive the data. Being inside commerce_shipping I do not have absolute control either.

The question is: What Form API elements should I use?

I tested

$form['group_1']  = array (
  '#type' =&gt; 'fieldset',
  '#title' =&gt; t('Group 1:'),
  '#container' =&gt; TRUE,
  '#collapsible' =&gt; TRUE,
  '#collapsed' =&gt; FALSE,  
);
$form['group_1']['radios'][] = array (
  '#title' =&gt;  'Radio 1',
  '#type'=&gt;'radio',
  '#return_value' =&gt; '1',
);


But ther resulting radio button name is group_1][radios][0] and the next is group_1][radios][1], as the name is different then they are not part of the same selection
Every group is a fieldset

  $form['pickup_group']['term_'.$tid] = array (
    '#type' =&gt; 'fieldset',
    '#title' =&gt; $pickupWrapper-&gt;field_taxonomy-&gt;name-&gt;value(),
    '#container' =&gt; TRUE,
    '#collapsible' =&gt; TRUE,
    '#collapsed' =&gt; FALSE,  
  );


Every radio

  $form['pickup_group']['term_'.$tid]['shipping_pickup_point'][] = array (
    '#title' =&gt;  drupal_render($renderable_node),
    '#type'=&gt;'radio',
    '#return_value' =&gt; $pickupWrapper-&gt;getIdentifier(),
    '#parents' =&gt; array('commerce_shipping','service_details','shipping_pickup_point'),
  );


I solved adding the array of parents and itself in #parents on every radio, I don't like so much because I don't have control about this parents. My code doesn't generate this parents it comes from the commerce_shipping API. But works...