Title: Autoincrement field
Last modified: November 25, 2023

---

# Autoincrement field

 *  Resolved [adminadb](https://wordpress.org/support/users/adminadb/)
 * (@adminadb)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/autoincrement-field/)
 * hi, please i use forminator plugin in my website and i want to create an autocrement
   field number (field will be autoincremented in each submission and i receive 
   this number in email with other fields).
 * it’s possible ?
 * thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Dmytro – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport16/)
 * (@wpmudevsupport16)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/autoincrement-field/#post-17230800)
 * Hello [@adminadb](https://wordpress.org/support/users/adminadb/),
 * We have a couple of PHP snippets which you can try out, depending on your requirements.
 * The simple one will just us an autoincremental value (1,2,3, etc.) in one of 
   the hidden fields (it’s using _{hidden-1}_ field by default). In order for the
   hidden field to be recognized by this PHP script, you’ll need to add _AUTOINCREMENT\
   _INT_ as the custom value in the field settings, on the _LABELS_ tab:
 * [https://prnt.sc/uBX1Rth0HZWQ](https://prnt.sc/uBX1Rth0HZWQ)
 * You can copy the snippet from [this post](https://wordpress.org/support/topic/sequential-numbering-on-the-forminator-form-submission-suddenly-stopped-working-2/#post-16813934),
   then save it as a PHP file (for example, “_forminator-autoincremental-value-1.
   php_“), and upload that file to _/wp-content/mu-plugins/_ directory on the server.
   This will make it run as a [must use plugin](https://wordpress.org/support/article/must-use-plugins/).
 * There’s also a [more advanced script](https://wordpress.org/support/topic/sequential-numbering-on-the-forminator-form-submission-has-stopped-workin/#post-16824010),
   which you can install the same way, as a must use plugin. It lets you define 
   a prefix, and a suffix, there are some examples in my reply [here](https://wordpress.org/support/topic/sequential-numbering-on-the-forminator-form-submission-has-stopped-workin/#post-16828533).
 * Hope this helps. Let us know if you have any questions!
 * Best Regards,
    Dmytro
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/autoincrement-field/#post-17248004)
 * Hello [@adminadb](https://wordpress.org/support/users/adminadb/) ,
    ﻿ We haven’t
   heard from you for several days now, so it looks like you no longer need our 
   assistance. ﻿ Feel free to re-open this topic if needed. ﻿ Kind regards Kasia

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Autoincrement field’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/autoincrement-field/#post-17248004)
 * Status: resolved