# Sequential Unique ID per user \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/sequential-unique-id-per-user-resolved/16855>\
**Category:** Get Help\
**Tags:** custom, gravity-wiz, unique-id\
**Created:** [February 13, 2024, 10:21am UTC](https://community.gravityforms.com/t/sequential-unique-id-per-user-resolved/16855 "2024-02-13T10:21:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicokiri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/nicokiri/32/14440_2.png) [@nicokiri](https://community.gravityforms.com/u/nicokiri)\
**Post date:** [February 13, 2024, 10:21am UTC](https://community.gravityforms.com/t/sequential-unique-id-per-user-resolved/16855/1 "2024-02-13T10:21:43Z")

</div>

Hi again 😃,

Hi,

Is it possible, with “Unique ID” plug in, to generate a sequential id per form and per user at the same time ? (Like counting how many time a user submit a specific form).

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/david/32/2517_2.png) [@david](https://community.gravityforms.com/u/david)\
**Post date:** [February 14, 2024, 4:04pm UTC](https://community.gravityforms.com/t/sequential-unique-id-per-user-resolved/16855/2 "2024-02-14T16:04:42Z")

</div>

Hey Bob,

We spoke via Gravity Wiz support but just answering here for others wondering about the same thing.

Sequential Unique IDs are form specific by default.

If the user ID can be part of the generated unique ID, you can capture the current user ID in a hidden field with the [`{user:ID}` merge tag](https://docs.gravityforms.com/user-merge-tag/#-id). Then, set that field’s value as a prefix for the unique ID, and use this snippet to generate a unique sequence using the prefix.

> <https://github.com/gravitywiz/snippet-library/blob/master/gp-unique-id/gpuid-sequence-by-prefix.php>

If you don’t want the user ID to be a part of the sequence, this is definitely something we could write a custom snippet for. We love helping our [Pro customers](https://gravitywiz.com/pricing/) with tweaks like this. 😄

---

<div class="post-metadata">

**Author:** ![nicokiri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/nicokiri/32/14440_2.png) [@nicokiri](https://community.gravityforms.com/u/nicokiri)\
**Post date:** [February 17, 2024, 10:37am UTC](https://community.gravityforms.com/t/sequential-unique-id-per-user-resolved/16855/3 "2024-02-17T10:37:13Z")

</div>

Hey David,

Great, thanks a lot for your help !!

Have a nice week-end !

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [February 19, 2024, 3:30pm UTC](https://community.gravityforms.com/t/sequential-unique-id-per-user-resolved/16855/4 "2024-02-19T15:30:45Z")

</div>

Closed on February 19, 2024, 3:30pm UTC


