Requirements

Add-On Type(s)

Tags

Auto Increment Field is a read-only field type that mimics MySQL auto-increment functionality.

Auto Increment Field is a read-only field type that mimics MySQL auto-increment functionality.

It is useful to assign sequential IDs to your entries.

Sample Scenario:

You are programming a CRM where you keep your client’s details and you want to automatically assign an incremental ID number to each of your clients every time you enter a new entry to your “clients” channel.

Features

You can define a unique auto increment counter for each of your channels.

Auto channel detection.

Define number of digitst to be used..

Ability to add pre-and-post fixes.

Notice:

This field works best for new channels with no existing entries.

Change Log:v1.2.2

Bug fixed that prevented the code from working when field is added to a brand new channel with no entries.

v1.2.1

Safecracker compatibility issues fixed.

v1.2.0

You can define a unique auto increment counter for each of your channels.

You can now add a prefix to your numbering. The number of digits is set regardles the prefix.

You can now add a postfix to your numbering. The number of digits is set regardles the postfix.

Now the field type is handled as a numeric value. Prefix and postfixes are not saved in fields.

v1.1.1

A minor bug that prevents fill the gap function from working properly is removed.

v1.1.0

Start value setting is added.

Fill in the gaps setting is added. This setting enables the software fill in the unused deleted items’ ids to new entries.

This entry was created January 19, 2012, 9:28 am.This entry was last updated November 23, 2014, 8:43 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.