What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Could you possibly add a feature to allow each ID to be randomly generated (of a length determined by the user) instead of always increasing by one?

    Asked by cl58tools on June 14, 2011 at 12:45 AM

    Great feature! Could you possibly add a feature to allow each ID to be randomly generated (of a length determined by the user) instead of always being consecutive numbers increasing by one?



    This is a re-post of a comment on How to Add Custom Unique IDs to your Form Submissions?

  • Profile Image
    JotForm Founder

    Answered by aytekin on June 14, 2011 at 12:51 AM

    I think you should simply use the submission IDs instead of the unique ID feature. They are random and impossible to guess.We already generate one for each submission so you do not need to do anything to enable them.

    To include these IDs in your emails: Click on "Email Alerts" on form builder go to "Compose Email" window. From right side click on "Unique ID". This will put "{id}" tag in to your form. This id is the unique submission id.
    You can also add it to the submissions page. Click on the Settings button on the right side and select ID checkbox.
  • Profile Image

    Answered by andrewrichardson on August 11, 2011 at 01:04 PM

    I don't see where I can add this unique submission id to the form? I see the unique id, but not the submission id and it doesn't show up on my report either...

  • Profile Image
    JotForm Support

    Answered by mliz on August 11, 2011 at 05:30 PM

    Hi andrewrichardson,

    The submission id is automatically generated for every submission.
    Unlike the unique id there is no need for you to add it to the form since
    they are autogenerated for every submission.

    To include them in the email notification:

    1. Open form in JotForm
    2. Click on 'Setup & Embed' then select 'Email Alerts'
    3. Choose Notification, from the form fields section to the right
    of the wizard select Unique ID as shown in the  screenshot below:



    To have them displayed on the report please do the following:

    1. Login to JotForm
    2. Click on 'My Forms'
    3. Select a Form and then click on 'Submissions'
    4. Click on the Settings icon and then enable the ID field.



    Let us know if you have any clarifications.

    Regards,
    Mliz

  • Profile Image

    Answered by mickeymau5 on September 21, 2011 at 03:29 PM

    But it the id is very long,isnt their any possible way that we can modify the lenght of the ID as well as random generate?preferable with a prefix IDK its very important for me

  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 22, 2011 at 05:44 AM

    @mickeymau

    Sorry but there is no way to modify the length of the submission id. Also, there is no other way to generate a random id for a form.


    Neil

  • Profile Image

    Answered by dotcomUNDERGROUND on January 11, 2012 at 09:13 PM

    Just as a suggestion, may be instead of such a long number, you can use a short alpha-numeric hash like bit.ly does for short url.

  • Profile Image
    JotForm Support

    Answered by idarktech on January 12, 2012 at 02:02 AM

    @dotcomUNDERGROUND,

    Apologies, but the topic is for shortening Submissions ID not URL. If you'd like to use bit.ly then that's no problem, you can use your form in your own way.

    Thanks for your time, have a great day!

  • Profile Image

    Answered by dotcomUNDERGROUND on January 12, 2012 at 07:48 AM

    @idarktech

    No I was not referring to a url system. I was just suggesting instead of using something like "0765534468846523775" for "{id}", use a hash space like "xD4rEt".

    I used bit.ly just to give an example of the hash (upper + lower + numeric). With such hash, you should be able to generate sufficiant number of unique identifier for all form submissions.