Skip Navigation

[Resolved] Increment ID

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 4 years, 3 months ago.

Assisted by: Jamal.

Author
Posts
#2056205

Tell us what you are trying to do?
I am trying to create an incrementing ID within a custom post type — within a custom field... Is this possible with Toolset? Is there a custom field to do this?

Is there any documentation that you are following?

Is there a similar example that we can see?
https://wordpress.org/plugins/acf-unique-id-field/

What is the link to your site?

#2056663

Hello and thank you for contacting the Toolset support.

Toolset does not offer a specific field to offer to autoincrement ID feature. But, you can still implement it using a Number field and some custom code.
If you will be creating/editing posts using Toolset forms, you can implement a similar custom code to this one https://toolset.com/forums/topic/auto-incrementing-number-field/#post-1460033

If you will be creating/editing posts from the backend, you can implement something similar to the code in this thread summary https://toolset.com/forums/topic/number-will-increment-when-editing-post-auto-numbering-posts-vs2/

You can find similar cases in the forum with this scoped search link hidden link

I hope this helps. Let me know if you have any questions.