PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Getting Each form to start entry ID at 1

  1. I am having a bit of trouble, when i create new forms or duplicate existing form templates i have created, the entry ID does not start with 1. Is there a way i can get them to start at 1 or create a hidden field that increments a number? (i would prefer using the hidden field) just wondering if this feature is already available in gravity forms and i have just not discovered it yet. Thanks!

    Posted 13 years ago on Friday December 31, 2010 | Permalink
  2. No, this isn't possible. The entry id is a database generated id for the row. All entries are stored in the same database table. The entry id is sequential across all forms. If you wanted an alternate id number that was sequential you would have to add a hidden field to your form and write custom PHP to populate the hidden field with the id, querying the entries to check how many exist and incrementing the number.

    Posted 13 years ago on Friday December 31, 2010 | Permalink
  3. Thank you for your fast reply i will try to create the php when i get home from work. Hmm since i limit entries on all forms i suppose i could just export it to Calc and then use the row numbers as the id numbers, sorry just thinking out loud. Thanks again!

    Posted 13 years ago on Friday December 31, 2010 | Permalink