Is there a way to prepopulate a field from a list of unique and incrementing numbers?

  • CapitalElectric
    Asked on December 6, 2018 at 8:33 AM

    Is there a way to autofill a field form a list of numbers.


    Options:

    1

    2

    3

    4

    5

    6


    I want the field to autofill with "1".

    After that form is submitted, I want it to autofill with 2 on the next time the form is used.

  • Support_Management Jotform Support
    Replied on December 6, 2018 at 12:21 PM

    Is there a way to autofill a field form a list of numbers.

    Hey @CapitalElectric - Prepopulating fields is doable but since you mentioned that you need them to be unique and should increment automatically, I don't think you can achieve this.

    It's worth mentioning that we have a widget called UNIQUE ID that can auto-increment for each submission. However, you can not use this as an option or field within your form. The unique ID will always be hidden and will only be generated after form submission. With that in mind, you can only display this auto-increment number inside your emails (NOTIFICATION or AUTORESPONDER) and THANK YOU PAGE.

    Complete guide: How-to-Add-Custom-Unique-IDs-to-your-Form-Submissions

    If you can tell us more about your workflow and add more details on how this will work as a whole, we can try thinking of other ways to go around it (if applicable).