Return to Snippet

Revision: 27666
at June 20, 2010 05:21 by troynt


Initial Code
/**
* Implementation of hook_form_alter
**/
function MODULE_NAME_form_alter(&$form, $form_state, $form_id) {
  if ($form_id = 'comment_form') {
    unset($form['preview']);
  }
}

Initial URL
http://drupal.org/node/57842#comment-1784284

Initial Description

                                

Initial Title
Remove Comment Preview Button in Drupal 6

Initial Tags

                                

Initial Language
PHP