Is there a way to auto generate a order number when items are purchased?

  • msmilan
    Asked on January 21, 2019 at 6:26 AM
    2.  Is there a way to auto generate a order number when items are purchased?
  • Mert Ceylan JotForm Developer
    Replied on January 21, 2019 at 8:06 AM

    You can easily generate unique order numbers using "Unique ID" widget which is available on the widgets tab.

    1548075348Screen Shot 2019 01 21 at 15 Screenshot 10

    After you added the "Unique ID" widget to your form go to its properties. The current index means your current value of your ID, if you write 5 here then Jotform will start counting the number from 5 and incrementing the value by 1 for each submission.

    Prefix is the prefix of your order number. If you write "asd-" here then your order number will be "asd-5".

    Finally the "Number Padding" is the length of your order number. This allows all your order numbers be the same length, for example if you put 3 there your order number will be "asd-005".

    Here's a more detailed guide on how to use this widget:

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

  • msmilan
    Replied on January 21, 2019 at 12:43 PM
    worked like a charm. thanks!
    ...