# Onboarding - Check if user exist

**URL:** https://community.glideapps.com/t/onboarding-check-if-user-exist/18229
**Category:** Ask for Help
**Created:** [November 10, 2020, 11:11pm UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229 "2020-11-10T23:11:57Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)
#### Post date: [November 10, 2020, 11:11pm UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229/1 "2020-11-10T23:11:57Z")

</div>

Hi guys I have a onboarding feature built into my app, i need a way to check if username already exist, before users submits.

---

<div class="post-metadata">

### Author: ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)
#### Post date: [November 10, 2020, 11:18pm UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229/2 "2020-11-10T23:18:35Z")

</div>

How does the process start? If it’s a button, just hide the button if user email isn’t empty.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [November 10, 2020, 11:20pm UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229/3 "2020-11-10T23:20:05Z")

</div>

If you’re doing onboarding for a public with email app then shouldn’t the email already recorded when the onboarding starts?

---

<div class="post-metadata">

### Author: ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)
#### Post date: [November 10, 2020, 11:30pm UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229/4 "2020-11-10T23:30:36Z")

</div>

You are right, it’s only the user name that needs, checking.

---

<div class="post-metadata">

### Author: ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)
#### Post date: [November 10, 2020, 11:31pm UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229/5 "2020-11-10T23:31:54Z")

</div>

Sorry, I don’t need for email, it’s just the username, while entering I need a way to check if username already exist.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [November 10, 2020, 11:35pm UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229/6 "2020-11-10T23:35:09Z")

</div>

I think your best bet is do it like this.

- Have a column for “temporary username” input.

- Create a relation from that temp column to another sheet, which you will store the true usernames.

- If relation is not empty, don’t show a form button that allows them to submit usernames, and vice versa.

- Use a relation & lookup to bring back the username.

---

<div class="post-metadata">

### Author: ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)
#### Post date: [November 10, 2020, 11:47pm UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229/7 "2020-11-10T23:47:31Z")

</div>

So, the temporary username column is in the user sheets, where data is currently being entered?

I am not sure how I can create a relationship to another sheet, if there isn’t any data to relate to.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [November 11, 2020, 12:03am UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229/8 "2020-11-11T00:03:39Z")

</div>

There will be data once your users start submitting their own usernames for onboarding.

Though if you want them to be able to edit that username later and still satisfies the no duplicates requirement then you can’t use the edit button for that. I imagine that must be another 2-step form.

---

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [November 11, 2020, 12:28am UTC](https://community.glideapps.com/t/onboarding-check-if-user-exist/18229/9 "2020-11-11T00:28:15Z")

</div>

Agreed. This is probably the only way to do this.
