/ Published in: PHP
URL: http://drupal.org/node/57842#comment-1784284
Expand |
Embed | Plain Text
/** * Implementation of hook_form_alter **/ function MODULE_NAME_form_alter(&$form, $form_state, $form_id) { if ($form_id = 'comment_form') { } }
Comments
Subscribe to comments
You need to login to post a comment.

By default, Drupal is configured to force anonymous users to preview their comments before posting them. To enable users to post without previewing their comment, you might think you'd access:
Administer > Content Management > Content Settings > Post Settings
or
Administer > Comments > Configure
But it doesn't work this way
In Drupal 6, the comment preview settings are tied to each content type. Visit:
Administer > Content Management > Content Types
Refer to this url http://www.99tutes.com/content/drupal-disable-required-comment-preview.html for more details