diff --git a/webform.module b/webform.module
index d142178..79f2a73 100644
--- a/webform.module
+++ b/webform.module
@@ -2912,6 +2912,12 @@ function theme_webform_element($variables) {
   $prefix = isset($element['#field_prefix']) ? '<span class="field-prefix">' . _webform_filter_xss($element['#field_prefix']) . '</span> ' : '';
   $suffix = isset($element['#field_suffix']) ? ' <span class="field-suffix">' . _webform_filter_xss($element['#field_suffix']) . '</span>' : '';
 
+  // Remove the #id property if there are multiple child elements to prevent the
+  // label from being including a "for" attribute to a non-existant field.
+  if (count(element_children($element))) {
+    unset($variables['element']['#id']);
+  }
+
   switch ($element['#title_display']) {
     case 'inline':
     case 'before':
