Auto Increment Field
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
- 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.
- 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.
- Configurable Start Value:
- Set the starting number for the auto-increment sequence (e.g., start from 1000).
-
Field Configuration:
- Configure the field through the Drupal field UI.
- Supports multiple instances of the field on the same entity type.
Depends on
Dependencies of the latest stable release
- field Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.