--- multistep.module	2009-01-25 22:42:59.000000000 -0500
+++ multistep.module	2009-01-26 00:11:59.000000000 -0500
@@ -143,6 +143,12 @@ function multistep_form_alter($form_id, 
       '#default_value' => variable_get('multistep_steps_' . $type, 0),
       '#description' => t('Enter the number of steps that this form will span.'),
     );
+    $form['multistep']['multistep_buttons'] = array(
+      '#type' => 'checkbox',
+      '#title' => t('Hide standard buttons'),
+      '#default_value' => variable_get('multistep_buttons_' . $type, 0),
+      '#description' => t('Marking this option removes the Preview and Delete buttons from the form.'),
+    );
   }
   elseif ($form_id == 'fieldgroup_edit_group_form' && variable_get('multistep_expose_' . $form['#parameters'][1]['type'], 'disabled') == 'enabled') {
   // This is the form to create/edit fieldgroup information.
@@ -199,9 +205,12 @@ function multistep_form_alter($form_id, 
       );
     }
     
-    // These are removed in favor of the custom ones above
-    unset($form['delete']);
-    unset($form['preview']);
+    // Remove extra buttons if not wanted.
+    if (variable_get('multistep_buttons_' . $type, 0) == 1) {
+      unset($form['delete']);
+      unset($form['preview']);
+    }
+    // These is removed in favor of the custom ones above
     unset($form['submit']);
     
     // This makes drupal call my submit hook instead of node_form_submit.
