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 Populate User ID

  1. I am trying to send out a "member id number" after the user fills out a registration form. I need this to be 10 digits long with the first two being "CF" I need the number digits to increment.

    I found this thread and I was wondering if this is still the best way to achieve it. If so how can I get the numbers to populate incrementally instead of randomly?

    Here is the thread -

    Thank you for your assistance!

    Posted 8 years ago on Friday February 17, 2012 | Permalink
  2. That example does provide a code snippet that can be used as a base to do what you want to do.

    However, if you want the number to be incremental that adds a new layer of complexity. Because you would have to maintain that incremental number functionality yourself somehow. Most likely by querying the existing entry data, seeing what the last number was and then incrementing it.

    Because of the incremental aspect of what you want to do it becomes much more complex because you not only have to generate the number, but you have to query existing data and determine what the next number is.

    I would say that this may be something you would need to hire a developer to implement.

    Posted 8 years ago on Friday February 17, 2012 | Permalink
  3. I can't get this to work for me. Can you help me figure out what I may be doing wrong?

    - I added the code to the function.php page
    - Updated the prefix, form id & field id
    - I created a hidden field, check on auto populate and put uuid in the parameters box.

    I am getting nothing....

    Here is the link to the form -

    Posted 8 years ago on Wednesday February 22, 2012 | Permalink
  4. Can anyone please assist? I need to get this figured out by next week.

    Thanks for your help!

    Posted 8 years ago on Friday February 24, 2012 | Permalink
  5. Marien

    I need help in this as well. I know how to generate the random number, but i would like it to increment on each form completion.

    It's a function that would be greatly used in gravity form if it were built in.

    Posted 8 years ago on Wednesday February 29, 2012 | Permalink
  6. Samantha


    Has anyone gotten this working? Thank you.

    Posted 8 years ago on Tuesday April 24, 2012 | Permalink