Hi,
I have two levels of group fields and radio buttons inside the second level group.
Noticed that the radio values will be self-exclusive within top level grouping. I would expect selection to be exclusive within parent group.
Am i doing something wrong or this is a bug?
Thanks,
Ruben
piklist( 'field', array(
'type' => 'group'
, 'field' => 'experiment'
, 'columns' => 12
, 'add_more' => true
, 'fields' => array(
array(
'type' => 'text'
, 'field' => 'experimentName'
, 'columns' => 4
)
, array(
'type' => 'group'
, 'field' => 'nestedGroup'
, 'add_more' => true
, 'fields' => array(
array(
'type' => 'text'
, 'field' => 'nestedName'
, 'columns' => 4
)
, array(
'type' => 'radio'
, 'field' => 'nestedChoice'
, 'value' => 'o1'
, 'attributes' => array(
'class' => 'text'
)
, 'choices' => array(
'o1' => 'O1',
'o2' => 'O2',
'o3' => 'O3',
'o4' => 'O4'
)
)
)
)
)
) );