Attached patch to add support for field type item.

CommentFileSizeAuthor
field_type_item.patch909 bytesbeltofte

Comments

nicholasthompson’s picture

What's an "item" field?

beltofte’s picture

This one http://api.drupal.org/api/drupal/developer--topics--forms_api_reference..... It basically renders the label and value without a form field.

skwashd’s picture

Status: Active » Fixed

Thanks, I have applied this patch. See aea55502ee7aa315776a9ba3d06f1581d51d39e7.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

andypost’s picture

Status: Closed (fixed) » Needs work
+++ b/hidden_field.moduleundefined
@@ -38,6 +42,11 @@ function hidden_field_field_widget_form(&$form, &$form_state, $field, $instance,
+    if ($type == 'item' && $column == 'format') {
+	  continue;  ¶

This makes no sense. Because "type" always 'hidden' or 'value'