Example form is linked to a database table, but won't be saved in this example.
When you submit the form, the value is presented with debug_dump(), so strings are quoted and array values listed.
<?php $items = array( 'A' => 'Item A', 'B' => 'Item B', 'C' => 'Item C', ); $field = new form_field_radios($form, 'Items'); $field->db_field_set('items'); $field->required_error_set('An item is required.'); // $value = $this->value_get(); // $value = $this->value_key_get(); ?>