Auto-increment custom fields

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
saloisio
Posts: 1
Joined: 25 Aug 2006, 19:53

Auto-increment custom fields

Post by saloisio »

Hi,

I'd like to add a custom field (numeric value) which automatically increments itself whenever an issue is reported on a project that uses this field. What's the best way of doing this? Some sample code would be much appreciated as I'm very new to PHP.
szollosi
Posts: 7
Joined: 12 May 2020, 17:09

Re: Auto-increment custom fields

Post by szollosi »

Hi, I am looking for a soution also to have custom field auto incrementing number, and regular expresion, such as:
XX/345
XX/346
XX/347
XX/348
and also, not allowed to use twice the same number, expect it was delete.

I need it to record meeting decisions in a "Decisions" project.
Thanks the ideas.
cas
Posts: 1650
Joined: 11 Mar 2006, 16:08
Contact:

Re: Auto-increment custom fields

Post by cas »

Suggest to write a plugin for this :mrgreen:
Post Reply