# Create a temporary users unique.id

**URL:** <https://forum.bubble.io/t/create-a-temporary-users-unique-id/83717>\
**Category:** Need help\
**Created:** [March 28, 2020, 1:58pm UTC](https://forum.bubble.io/t/create-a-temporary-users-unique-id/83717 "2020-03-28T13:58:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott12](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@scott12](https://forum.bubble.io/u/scott12)\
**Post date:** [March 28, 2020, 1:58pm UTC](https://forum.bubble.io/t/create-a-temporary-users-unique-id/83717/1 "2020-03-28T13:58:25Z")

</div>

I’m creating an online quiz. How do I create a unique ID for the user without having them signup? I would like the user to click “Start” and this would create the user with a unique.id.

I know I must be missing something very basic!

Thanks for your help

---

<div class="post-metadata">

**Author:** ![petter](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/petter/32/98626_2.png) [@petter](https://forum.bubble.io/u/petter)\
**Post date:** [March 28, 2020, 3:13pm UTC](https://forum.bubble.io/t/create-a-temporary-users-unique-id/83717/2 "2020-03-28T15:13:28Z")

</div>

Hi scott,

The unique ID is an automatically generated value that you can’t manipulate directly, so there’s no way to create one before the user itself is created.

However, _current user_ is available even if your visitor hasn’t actually registered. This is to make sure that you can save data on the user before he registers (for example, most webshops allow you to add items to the cart without registering a profile first).

All info saved on that temporary user will be transferred to the new user profile once it’s created, so in your case, you can keep a score, a nickname, etc, temporarily.

Does that solve your problem?

---

<div class="post-metadata">

**Author:** ![scott12](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@scott12](https://forum.bubble.io/u/scott12)\
**Post date:** [March 29, 2020, 1:24pm UTC](https://forum.bubble.io/t/create-a-temporary-users-unique-id/83717/3 "2020-03-29T13:24:26Z")

</div>

Hi Peter,

I think I was 90% there and your comment put me to 100%.

Thank you so much for taking the time and giving back!!!

Best - Scott

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [June 6, 2020, 1:58pm UTC](https://forum.bubble.io/t/create-a-temporary-users-unique-id/83717/4 "2020-06-06T13:58:27Z")

</div>

Closed on June 6, 2020, 1:58pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
