Add Custom Unique IDs to your Form Submissions in WordPress

Easy Registration Forms allows assigning Unique ID to each submission. Unique Id option can be enabled from Form Dashboard > Configure > Unique ID. It has two predefined schemes to generate IDs: Auto or Configure

Auto: This option assigns a Unique ID to the submission by incrementing the previous count.

Configure: Allows admin to change the scheme for Unique ID generation. Here are the options:

  1. Current Index: Sets the starting point of ID generation. When a form gets submitted, it will be assigned with the current index and for upcoming submissions, it gets increased from the previous value.
  2. Prefix: Strings can be added in front of IDs, this makes easier to relate with the unique ID as it can categorize Submissions. For example, if submissions are to be collected for an “Annual Photography Event”, prefixes like “APE-005” will be a lot easier to find than plain “005”. Using hyphen on your prefixes makes it easier to read.
  3. Number Padding:If you need your IDs to be of the same length by “0”s before the ID. Let’s assume that you are expecting 10,000 submissions for your form and you are using the “APE-” prefix for your IDs. Not using number padding will generate IDs as shown:
    • APE-1
    • APE-12
    • APE-123
    • APE-1234

    Using number padding, you can generate unique ID with symmetrical unique IDs, i.e 5 digits long number as per example, so if you select “5” in the number padding field, this will convert IDs to these:

    • APE-00001
    • APE-00012
    • APE-00123
    • APE-01234

    This helps you to organize your submissions.

  4. Number Offset: It defines the number interval for upcoming Submission IDs. For example, Current Index is 1 and Number Offset is 3 then Submissions IDs will be 1, 4, 7 and so on.

27 Replies to “Add Custom Unique IDs to your Form Submissions in WordPress”

    1. Hello Deni,
      Kindly follow the steps given below.

      1. Go to “Form Dashboard”
      2. Click on “Configure”
      3. Go to “General Settings”
      4. Enable “Unique ID” toggle button and configure it as desired with available options.
      5. Save when done.

      Please let us know if you still face any issue configuring Unique ID to your form submissions.

          1. I understand it not available now but is there any solution to what i need from your plugin. I need automatic code like userid generated by the plugin for login purpose with password

          2. “Register with us by filling out the form below” please how can i remove this statement in my form i think in a default stuff in a form

    1. Hello @Emeka,

      Thank you for contacting us. You can use “{{UNIQUE_ID}}” tag in either post submission message or in User Auto Reply notification.

          1. yes same for me too, in the post submission page it writes the correct unique ID but in the email notification, it writes {{UNIQUE_ID}}.

    1. Hello Andrew,
      Kindly note, a unique ID will be assigned to new submission, i.e after you’ve activated the feature in the form configuration, it won’t get applied to your previous submissions.
      Please write to us at erformswp@gmail.com if we are missing something would like us to explain the issue in detail in order to allow us to help you resolve it.

  1. Thanks for the nice plugin.
    I want to know, how can able to add”Unique Submission ID” to “Submissions Overview” table?
    Is it possible?
    Please inform me…
    Thanks

  2. Hello, great plugin. I was wondering if it was possible to make a conditional unique id. For example, I am working on a registration form for a gingerbread competition, and I would like to set it up so that each competitor is given a unique ID dependent upon their experience level and their competition category.
    So, lets say there are two people who register to compete in different categories using the same form:

    Person 1: amateur looking to compete in the Gingerbread House Competition

    Person 2: professional looking to compete in the Gingerbread Cookie Set Competition

    Person 1’s unique id would be 2002001 where 1 means Gingerbread House Competition 002 means Amateur and 001 is their number in that particular competition category.

    Person 2’s unique id would be 1003001 where 1 means Gingerbread Cookie House Competition 003 means professional and 001 is their number in that particular competition category because they are the 1st individual to register for that particular category.

    Any assistance you can give me would be much appreciated.

    1. You can use our filter ‘erf_submission_unique_id’ to customize the behavior of unique ID generation. The registered function would get two parameters 1. System generated Unique ID 2. Submission object.

      You can implement the above filter in your theme’s functions.php file.

  3. 1. in this plugin can we get an automagically save the submitted form as a CSV file in a given path.
    2. can we do email confirmation? when the user who fills the form gets the thank you mail and there’ should be a link to confirm his email until it stays as inactive on the submit list.

    1. Hello,
      1. in this plugin can we get an automagically save the submitted form as a CSV file in a given path.
      Ans. The plugin doesn’t save the submissions automatically, but you have an option to export submissions as CSV in the Submissions Overview page of a form. Click on Export button download Submissions.
      Your requirement to save the CSV in a specific requirement, you can raise a customization request for this and we can discuss this further.

      2. can we do email confirmation? when the user who fills the form gets the thank you mail and there’ should be a link to confirm his email until it stays as inactive on the submit list.
      Ans. Yes, the feature is already available. Please follow the steps given below.

      Create a verification page:
      1. Create a new verification page and insert the shortcode [erforms_account_verification] on that page

      Configure the verification settings
      1. Go to Form Dashboard > User Account
      2. Disable Auto user activation and enable Send verification link option,
      3. Select the page with the verification shortcode.
      4. Enable Auto login after verification
      5. Save when done.

      Kindly refer the help text below each field while configuring, it will ease up the process.

Leave a Reply