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

    Is there a way to use two unique IDs and increment only one of them based on a 'if else' condition?

    Asked by syntel_mettl on October 12, 2016 at 08:07 AM
  • Profile Image
    JotForm Support

    Answered by olivia on October 12, 2016 at 08:39 AM

    Unfortunately, you can use only one Unique ID widget per form. When you try to use two Unique ID widgets in your form, you will get the error message as shown below.

    In addition, I will try to find a way to do that by using conditional logic.  However, If you share more detail about what you want to do,it would be better for us. 

    Please let us know if you need any further assistance. 

  • Profile Image

    Answered by syntel_mettl on October 12, 2016 at 09:16 AM



    Thanks for your quick revert.


    What I want to do is assign a unique alpha numeric code to each submission. But the text part differs based on a certain field.

    eg. if some one chooses option A, I want to assign him a code starting with ABC0000

    where as if a person chooses option B, I want to assign a code starting with XYZ0000.


    Kindly let me know if there is a way to auto increment a field without using the unique ID widget.

  • Profile Image
    JotForm Support

    Answered by olivia on October 12, 2016 at 10:14 AM

    If I understood your request, you need total submission data separately for A and B values. Unfortunately, there is no way to do it in JotForm. You can get total submission by Unique ID Widget. You cannot get the number of submissions separately for A and B values.

    If you have any other questions please feel free to let us know.