It looks like you're new here. If you want to get involved, click one of these buttons!
unset($fields['id']);
Comments
function form_fields($values = array())
{
$values = array('name' => '', 'address'=>'', 'city'=>'', 'state'=>'', 'zip'=>'', 'phone'=>'', 'type'=>'');
$fields = $values;
//The key was id field
$fields['id'] = array('type'=>'hidden');
return $fields;
}
unset($fields['id']);
thanks