@if ($field->format == "DATE")
@elseif ($field->element == "text")
@elseif($field->element == "textarea")
@elseif($field->element == "listbox")
@elseif($field->element == "radio")
@foreach(explode("\r\n", $field->field_values) as $field_value)
@endforeach
@elseif($field->element == "checkbox")
@foreach(explode("\r\n", $field->field_values) as $field_value)
@endforeach
@else
Unknown field element: {{ $field->element }}
@endif
first($field->db_column_name());
if ($errormessage) {
print('
'.$errormessage.'');
}
?>