Drupal CCK Autonumber Field

In a Drupal site you may have a content type that needs an auto number to be generated that auto increments on each new node of that type.

To do this install the computed field module


Then create a new field of the type computed field and add the code from the following URL


Posted by

2 Responses

  1. A better way of doing this would be by using the serial module

  2. Pete says:

    Thanks Wesley, the Serial module looks to be a good new module.

Leave a Reply