Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Auto Increment Field

35 sites No security coverage
View on drupal.org

This module provides a field that automatically generates and increments a unique numeric value for entities. You can configure it with custom prefixes, suffixes, and starting numbers, making it useful for generating IDs like order or invoice numbers.

The Auto Increment Field module provides a field type for Drupal that automatically generates and increments a numeric value. This field type is highly configurable, allowing you to set a prefix and suffix for the generated value. It is ideal for use cases where you need unique, auto-incrementing identifiers such as order numbers, invoice IDs, or custom reference codes.

Features

  1. Auto Incrementing Values:
    • Automatically generates a numeric value that increments with each new entity (e.g., node, user, or custom entity).
    • Ensures uniqueness for each generated value.
  2. Prefix and Suffix Support:
    • Allows administrators to define a prefix (e.g., INV-) and **suffix(e.g.,-2023`) for the generated value.
    • Example output: INV-1001-2023.
  3. Configurable Start Value:
    • Set the starting number for the auto-increment sequence (e.g., start from 1000).
  4. Field Configuration:
    • Configure the field through the Drupal field UI.
    • Supports multiple instances of the field on the same entity type.

Activity

Total releases
3
First release
Jul 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Release date
2.0.0 Stable Jul 11, 2025
1.0.0 Stable Jul 10, 2025
1.0.x-dev Dev Jul 10, 2025