Docs & Support

Learn about all the Formidable features and get support from our amazing customer success team.

FormsForm Examples
How to auto increment a number on form submit

How to auto increment a number on form submit

One effective way to ensure that all entries are tracked and numbered in order is to utilize an increment count stamp for each entry. This auto increment approach simplifies the tracking and organizing process, making tracking the total number of entries easier.

For example, if you use the [auto_id] shortcode and want to start the count at 1 with a prefix, the value generated could be CTN-1, CTN-2, etc. Here are a few examples.

Example Shortcode Results
auto increment + suffix [auto_id start=1]-INV 1-INV
prefix + auto increment product-ID-[auto_id start=1] product-ID_1
smart default value + auto increment [auto_id start=1]_[user_role] 1_subscriber
prefix + auto increment with starting point CTN-[auto_id start=2] CTN-2, CTN-3, CTN-4
prefix + auto increment with step point STP-[auto_id start=1 step=2] STP-1, STP-3, STP-5

Set up Auto Increment field

With this guide, you can create an auto ID, and the number increments for every successful submission in the form. Learn more about how to use the [auto_id] shortcode.

  1. In your form builder, add a hidden or text field.
  2. In the Default value box, insert the shortcode with a starting number, which could include a prefix, suffix, or smart default value. Auto Increment Default Value
  3. For each entry submitted to the form, the number will increment depending on the starting point or interval you have specified.
Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2025 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.

    Complete your purchase
    Special offer unlocked.
    Get 55% OFF!
    Complete Purchase
    Join 400,000+ using Formidable Forms to create form-focused solutions fast. Get Formidable Forms