6109
hi timgno
I do not know your current complete code, but:
if you look into admin/fields.php, there is under 'save'
$fieldsObj->setVar( 'field_main', (($key == isset($_REQUEST['field_main'][$key])) ? 1 : 0) );
so your radio needs an index (key)
your current code (in this posting) in class/fields.php look like this
$check_field_main = new TDMCreateFormRadio('', 'field_main['.$i.']', $main_field);
but $i is (as I see on GitHub) always empty
therefore replace thsi line by
$check_field_main = new TDMCreateFormRadio('', 'field_main['.$id.']', $main_field);