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

    Customizing the Unique ID plugin count cycle

    Asked by yabdil on August 03, 2014 at 02:22 PM

    Hi, 

    JotForm is really a big help in organizing our exams. Thank you for this great service. We use JotForm to take submissions for our exams in university. When students apply for an exam, an entrance document is automatically posted to their mail adress. In this entrance document I want to include exam entrance place too. Unique ID is ok but what I need is changing the prefix after a certain number. For example: let's say prefix is 203 and counter number is 15 (203-15) in my form this means that applicant is going to enter the exam in class number 203 and in 15th desk. But in a class there are just 20 desks. After number 20 the prefix should change to 204 and after 204-20 it should start with 205-01. Is it possible to create my own .txt file including the prefixes and counter numbers such as: 

    201-01

    201-02

    ....

    201-20

    202-01

    202-02

    ...

    ...

    214-01

    214-02

    ...

    ...

    Thank you for your help and for your service. 

     

    unique id unique Submissions JotForm
  • Profile Image
    JotForm Support

    Answered by KadeJM on August 03, 2014 at 05:58 PM

    Thank you for your comments about our platform, we do appreciate that. Involving your question here it seems to me that you are looking to control this further as interchangeable unique id that could become multipurposed to trade off prefixes and Number Counts perhaps? Please correct me if I have gone off-track.

    Also, I'm afraid I don't fully understand your intentions regarding the .txt file. Can you please clarify your intentions involving the text prefixes and an example of how this would come into play to affect it maybe? I apologize about any confusion that I might have.

  • Profile Image

    Answered by yabdil on August 04, 2014 at 02:45 AM

    Hi, 

    What I mean about .txt file is that I'll write my own ids in txt file and Uniqe ID plugin will use it as a source to give id to submitters. For example my .txt file will be like this:

    201-01

    201-02

    201-03

    ...

    205-05

    205-06

    ...

    Unique ID will use this .txt as a source. The id of the first sumbitter will be 201-02, second 201-02 and so on...

     

    Anyway .txt is just an idea. What I exactly want is changing the prefix after a certain number. Let's say my prefix is 201. After the number 201-20, prefix should change to 202 and number should start from 1 again. 

  • Profile Image
    JotForm Support

    Answered by jonathan on August 04, 2014 at 06:00 AM

    Hi,

    I think your idea is very much doable, but it will require a lot of programming involvement since that will probably be stand alone application in itself. If you intend to use the JotForm form, you will also use its source code as a requirement.

    User Guide: -How-to-get-the-Full-Source-Code-of-your-Form

     

    What I exactly want is changing the prefix after a certain number. Let's say my prefix is 201. After the number 201-20, prefix should change to 202 and number should start from 1 again. 

     

    You can do this using the Calculation Widget to generate the unique value. You will no longer need the Unique ID field.

    Check this user guide -How-to-Populate-Field-with-a-Value-from-another-Field

    Using the Calculation field, you can generate new value base on calculation. 

    If you check this template on random number generator , the idea is similar to what you described. Only your idea have a define number when the prefix will change, while the random generator template is prefixed after a random value.

     

    Hope this help. Inform us if you need further assistance.

    Thanks!

     

     

     

     

     

  • Profile Image

    Answered by yabdil on August 04, 2014 at 07:31 AM

    It seems complicated but I'll try my best to figure it out :) Let's see what I can do:)

  • Profile Image
    JotForm Support

    Answered by TitusN on August 04, 2014 at 09:45 AM

    Please do let us know how we can assist further.