Is there a way to use the unique field based on a calculated value?

  • hsts
    Asked on April 28, 2023 at 11:07 PM

    Is there a way to use the unique field based on a calculated value? or one that is a hidden field?

  • Joram_Perucho Jotform Support
    Replied on April 29, 2023 at 6:44 AM

    Hello hsts,

    Thanks for contacting Jotform Support. I'm sorry I didn't fully understand the issue. Can you explain a bit more about what you want to do so we can help you with it?

    Once we hear back from you, we will be able to help.

  • cnreddy
    Replied on April 29, 2023 at 8:35 AM

    Hi,

    I want to have a Unique Number generated (may be in a text box) for every form submission and to be visible to user filling in the form.

    Currently the option for unique Id is hidden?

    Thankyou.

  • Gian JotForm Support
    Replied on April 29, 2023 at 8:54 AM

    Hi cnreddy,

    Thanks for getting back to us. I’ll need a bit of time to look into this. I’ll get back to you shortly.

  • Gian JotForm Support
    Replied on April 29, 2023 at 9:14 AM

    Hi cnreddy,

    Unfortunately, it is not possible to make the Unique ID field visible while filling out the form. That is because the value for the Unique ID is generated after the form was submitted. This is being done to avoid duplicate IDs if the Unique ID was generated on the actual form. This can also cause confusion if shown on the actual form because when multiple users view the form at the same time then they won't fully complete the form.

    A workaround though, is to add the Unique ID on the Thank you page of your form. Here's a screencast showing how to do it:

    Is there a way to use the unique field based on a calculated value? Image 1 Screenshot 20

    Give it a try and let us know if you need any other help.