# User Code/Access Issue

**URL:** <https://forum.adalo.com/t/user-code-access-issue/31065>\
**Category:** Get Help\
**Created:** [August 22, 2022, 2:24pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065 "2022-08-22T14:24:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ATW](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@ATW](https://forum.adalo.com/u/ATW)\
**Post date:** [August 22, 2022, 2:24pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065/1 "2022-08-22T14:24:44Z")

</div>

Hello - I am having trouble with a user/enrollment process. I’d like to use an access code upon login and I’ve watched the Adalo video on this topic on YouTube. My main issue is that the user’s company will not update when they enter the code for that respective company. I’ve tried a couple different combinations of set-ups and it will not update the info.

Any help is appreciated - thank you!

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [August 22, 2022, 4:02pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065/2 "2022-08-22T16:02:03Z")

</div>

Hi @ATW,

Welcome to the community 🥳

You mean you entered the code and it needs to be that company’s code?

Thank you

---

<div class="post-metadata">

**Author:** ![ATW](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@ATW](https://forum.adalo.com/u/ATW)\
**Post date:** [August 22, 2022, 4:04pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065/3 "2022-08-22T16:04:38Z")

</div>

Yes - I assign a company code to each company. We then give that company’s users the code we generate so they can use it to login to see only pertinent information about their projects. The problem is that when a user enters in the code into the area we have designated, it doesn’t update the database automatically that they’re a member of that company like I would like it to.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [August 22, 2022, 4:23pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065/4 "2022-08-22T16:23:42Z")

</div>

> [@ATW](#):
>
> it doesn’t update the database automatically that they’re a member of that company like I would like it to.

Where it has to update? What it has to update? 👀

---

<div class="post-metadata">

**Author:** ![ATW](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@ATW](https://forum.adalo.com/u/ATW)\
**Post date:** [August 22, 2022, 4:35pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065/5 "2022-08-22T16:35:44Z")

</div>

I would like the user info to update with the company info with a sucessful submission of the code assigned to that particular company.

Here is what I want my Submit button to do when the code is entered correctly - update the user to the current company

But when I do that, I go into the user database and it does not populate the company name.

 ![ScreenShotCompany](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/c/6/c666df276b0fd5dc2399b7d819fc67e3f8858e32.png)

 ![ScreenshotSubmit](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/f/7/f7b2195d5584a1d0c421bde202fe40771477b766.png)

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [August 22, 2022, 6:12pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065/6 "2022-08-22T18:12:36Z")

</div>

Hi Andy,

Check this out! : [Company Code.mp4 on Vimeo](https://vimeo.com/741978605)

I believe you want like this!

Thank you

---

<div class="post-metadata">

**Author:** ![ATW](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@ATW](https://forum.adalo.com/u/ATW)\
**Post date:** [August 23, 2022, 3:23pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065/7 "2022-08-23T15:23:02Z")

</div>

Thank you Dilon - that was helpful but I don’t understand why mine does not do that. I have it set-up so the submit button only shows with correct code like your video does, but mine does not update the User info with a submission. I’ll record what I have on Vimeo in a moment.

Also, I’d like to set it up so it requires the correct code before successfully creating a user. Right now, I can simply hit the back button without using the code and it will create the account and let the user proceed to use the app.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [August 25, 2022, 12:03pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065/8 "2022-08-25T12:03:50Z")

</div>

Hello Andy again,

Sorry for this late reply!

> [@ATW](#):
>
> Thank you Dilon - that was helpful but I don’t understand why mine does not do that. I have it set-up so the submit button only shows with correct code like your video does, but mine does not update the User info with a submission. I’ll record what I have on Vimeo in a moment.

Is it possible to share the video or give access for this email clicking on the gear icon \> app access section and add the above email to check that?

> [@ATW](#):
>
> Also, I’d like to set it up so it requires the correct code before successfully creating a user. Right now, I can simply hit the back button without using the code and it will create the account and let the user proceed to use the app.

Does the user comes to this screen after proving the email , name etc?

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 4, 2022, 12:04pm UTC](https://forum.adalo.com/t/user-code-access-issue/31065/9 "2022-09-04T12:04:34Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
