Unique ID Widget - Generate IDs even for pending payments?

  • relatecasts
    Asked on July 9, 2021 at 2:01 PM

    Hi-

    Is there a way to make the Unique ID Widget generate a unique ID at the point of submission, rather than at payment validation?

    We noticed that the form only assigns a unique ID when the payment is completed. We'd prefer if it was generated when the user submits the form — this way we'd have a ticket number to refer to even before the payment is completed. Is this possible?

    Thanks!

  • Cecile JotForm Support
    Replied on July 9, 2021 at 3:14 PM

    Hello there,

    Thank you for contacting support.

    Kindly note that the Unique ID is only generated once the form is submitted and the form is only submitted after a payment has been made (if there's a payment required in the form).

    A workaround would be to change the Unique ID to random value generator widget and add a short text field that will hold the value of Random Value Generator.

    Example:

    1624065154 60cd4482be4ca 29 Screenshot 10

    1624065155 60cd448328bf9 30 Screenshot 21

    Guide: How-to-insert-text-or-calculation-into-a-field-using-conditional-logic

    I hope this helps.

    Should you have further inquiries, kindly let us know.

  • relatecasts
    Replied on July 9, 2021 at 3:33 PM

    Yes, that was helpful. Thank you!