diff --git modules/field_ui/field_ui.admin.inc modules/field_ui/field_ui.admin.inc
index 8302be8..38fb593 100644
--- modules/field_ui/field_ui.admin.inc
+++ modules/field_ui/field_ui.admin.inc
@@ -1228,7 +1228,7 @@ function field_ui_existing_field_options($entity_type, $bundle) {
           if (empty($field['locked'])
             && !field_info_instance($entity_type, $field['field_name'], $bundle)
             && (empty($field['entity_types']) || in_array($entity_type, $field['entity_types']))
-            && empty($field_types[$field['type']]['no_ui'])) {
+            && empty($field['no_ui'])) {
             $text = t('@type: @field (@label)', array(
               '@type' => $field_types[$field['type']]['label'],
               '@label' => t($instance['label']), '@field' => $instance['field_name'],
diff --git modules/field_ui/field_ui.test modules/field_ui/field_ui.test
index f82b8a8..2a98ce9 100644
--- modules/field_ui/field_ui.test
+++ modules/field_ui/field_ui.test
@@ -132,7 +132,7 @@ class FieldUITestCase extends DrupalWebTestCase {
     // Check that the list of options respects entity type restrictions on
     // fields. The 'comment' field is restricted to the 'comment' entity type
     // and should not appear in the list.
-    $this->assertFalse($this->xpath('//select[@id="edit--add-existing-field-field-name"]//option[@value="comment"]'), t('The list of options respects entity type restrictions.'));
+    $this->assertFalse($this->xpath('//select[@id="edit-add-existing-field-field-name"]//option[@value="comment"]'), t('The list of options respects entity type restrictions.'));
 
     // Add a new field based on an existing field.
     $edit = array(
@@ -272,7 +272,7 @@ class FieldUITestCase extends DrupalWebTestCase {
 
     // Check that the field type is not available in the 'add new field' row.
     $this->drupalGet($bundle_path);
-    $this->assertFalse($this->xpath('//select[@id="edit--add-new-field-type"]//option[@value="hidden_test_field"]'), t("The 'add new field' select respects field types 'no_ui' property."));
+    $this->assertFalse($this->xpath('//select[@id="edit-add-new-field-type"]//option[@value="hidden_test_field"]'), t("The 'add new field' select respects field types 'no_ui' property."));
 
     // Create a field and an instance programmatically.
     $field_name = 'hidden_test_field';
@@ -296,7 +296,7 @@ class FieldUITestCase extends DrupalWebTestCase {
     // on other bundles.
     $bundle_path = 'admin/structure/types/manage/article/fields/';
     $this->drupalGet($bundle_path);
-    $this->assertFalse($this->xpath('//select[@id="edit--add-existing-field-field-name"]//option[@value=:field_name]', array(':field_name' => $field_name)), t("The 'add existing field' select respects field types 'no_ui' property."));
+    $this->assertFalse($this->xpath('//select[@id="edit-add-existing-field-field-name"]//option[@value=:field_name]', array(':field_name' => $field_name)), t("The 'add existing field' select respects field types 'no_ui' property."));
   }
 
   /**
