Index: webform_components.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/Attic/webform_components.inc,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 webform_components.inc
--- webform_components.inc	27 Jan 2008 23:07:25 -0000	1.1.2.1
+++ webform_components.inc	29 Jan 2008 12:10:34 -0000
@@ -233,11 +233,8 @@ function webform_component_edit_form(&$n
     '#weight' => -1,
   );
   $form['mandatory'] = array(
-    '#type' => 'checkbox',
-    '#title' => t("Mandatory"),
+    '#type' => 'hidden',
     '#default_value' => ($component['mandatory'] == '1' ? TRUE : FALSE),
-    '#description' => t('Check this option if the user must enter a value.'),
-    '#weight' => 2,
   );
 
   if (variable_get('webform_enable_fieldset', true) && is_array($node->webformcomponents)) {
@@ -258,12 +255,8 @@ function webform_component_edit_form(&$n
   }
 
   $form['weight'] = array(
-    '#type' => 'weight',
-    '#delta' => count($node->webformcomponents) > 10 ? count($node->webformcomponents) : 10,
-    '#title' => t("Weight"),
+    '#type' => 'hidden',
     '#default_value' => $component['weight'],
-    '#description' => t('Optional. In the menu, the heavier items will sink and the lighter items will be positioned nearer the top.'),
-    '#weight' => 4,
   );
 
   // Add the fields specific to this component type:
