PHPJavascript

Web Development Guide – My Personal Library of Tutorials and Scripts

Drupal form_alter hook not working

June15

If you are using drupal 6 make sure you are using the proper parameters for the form_alter hook:

function modulename_form_alter(&$form, $form_state, $form_id) {

In drupal 5

function hook_form_alter($form_id, &$form) {

The above tip is for module developers
posted under Drupal

Email will not be published

Website example

Your Comment:

 

3,055 spam comments
blocked by
Akismet