Unique ID Widget generates 19 digits

  • ChrisG1180
    Asked on December 21, 2018 at 12:46 PM

    Hello There,

     

    I am a relatively new user to Jotforms and so far I think it is an amazing tool and generally pretty easy to use. I am however struggling with how to set up and use the "Unique ID" widget.

     

    Basically, the form I have created is a job application form. 

     

    When the user completes the form I need each user to be allocated with a unique ID Number or Unique Reference Number. I also need the following:


    When the user completes the form I need them to receive an email containing a Unique ID number. I actually know how to send the email to the user containing the ID number, however, I need the unique number to be just 5 or 6 digits long. At the moment I can only seem to generate ID numbers that consist of 19 digits which is way too long. What do I need to do to make the ID number just 5 or 6 digits?            As part of my form, I have a text element just before the user submits the form. I need the ID number to appear within this text element just before the user submits the form. I have used the “Form Fields” drop down to select it within this text but it does not seem to appear. I am wondering whether it is possible to display the ID number to the user BEFORE they press submit. If so can you help to understand how to do this? If it is not possible to show the ID number before they press submit can you explain to me how I can show it to the user after they press submit? When I view and download submissions as an excel sheet I would like the ID number to appear for each submission so that I can run a search on Excel and find the submission based on the ID number. As the moment the ID number doesn’t seem to appear in any of the submissions. How can I get this to work?

    Your help on these issues would be a massive help.

     

    Here is the form I am trying to work on:

    https://eu.jotform.com/build/83425508417357



    Many Thanks 

     

     

    Chris.

  • Richie JotForm Support
    Replied on December 21, 2018 at 2:28 PM

    You can adjust the number padding for your unique ID to have 5 digits.

    Unique ID Widget generates 19 digits Image 1 Screenshot 50

    Guide:https://www.jotform.com/help/79-How-to-Add-Custom-Unique-IDs-to-your-Form-Submissions

    Unfortunately, the Unique ID widget will only add after the form is submitted.You may however, show it in the Thank you page by using this code {uniqueId}.

    Unique ID Widget generates 19 digits Image 2 Screenshot 61

    Sample Screenshot:

    Unique ID Widget generates 19 digits Image 3 Screenshot 72

    For the submissions, I can view the unique ID in the submissions page.

    Unique ID Widget generates 19 digits Image 4 Screenshot 83

    Can you try editing the unique ID and let us know if the issue still remains?