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.

Auto-number a form

  1. FBS_web
    Member

    I would like to be able to add a unique number that increases sequentially to each form. This would be helpful in adding the submissions to another database.

    Posted 12 years ago on Wednesday May 18, 2011 | Permalink
  2. Can you use the Entry ID? It is a unique number that increases with each form and is sequential, although across all forms.

    Posted 12 years ago on Wednesday May 18, 2011 | Permalink
  3. FBS_web
    Member

    I have looked at the entry ID, but we have over 40 forms and I only need this numbering on one form, so using the entry ID would leave lots of holes in the numbering.

    Posted 12 years ago on Wednesday May 18, 2011 | Permalink
  4. There isn't currently a built in feature for doing this, although it is a feature we would like to add in the future.

    Why not store the Entry ID in the third party database and generate a sequential unique ID in that database also? If you are adding the submissions to another database anyway, you could generate a sequential ID when you create a new record in that database.

    Your other option is to use custom PHP and write a customization. Create a hidden field on your form to store the ID, then populate that ID using PHP. Each time the form is submitted you'd query the entries for that form to get the last ID and then increment it and store the value in the hidden field. That is another solution. you'd have to use the available API hooks and write some custom PHP to do this.

    Posted 12 years ago on Wednesday May 18, 2011 | Permalink
  5. Would like to resurrect this post.

    Carl your last comments very quickly turn into white noise for my limited PHP knowledge, the only thing missing from these forms is a unique ID per form.

    Posted 12 years ago on Friday December 30, 2011 | Permalink
  6. @andypaddock, please start a new topic with your request and we will be happy to help you accomplish what you're looking to do. Thanks.

    Posted 12 years ago on Friday December 30, 2011 | Permalink

This topic has been resolved and has been closed to new replies.