# Access code company

**URL:** <https://forum.adalo.com/t/access-code-company/29060>\
**Category:** Get Help\
**Created:** [July 4, 2022, 2:19pm UTC](https://forum.adalo.com/t/access-code-company/29060 "2022-07-04T14:19:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Totoz](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@Totoz](https://forum.adalo.com/u/Totoz)\
**Post date:** [July 4, 2022, 2:19pm UTC](https://forum.adalo.com/t/access-code-company/29060/1 "2022-07-04T14:19:05Z")

</div>

Hi everyone,

I have a problem that is seriously starting to bother me ☹

I have a user who can log in with an “Access Code” (I don’t want to use an email or password).

So I created a field in my “Users” table called “Access code”.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/8/a/8ab02904506b8735a697786daa025dcc4fc4e328.png)

Then I created an input with a button and I said: The button is visible only when the value of the input is the same as the value of the access code  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/2/6/26ed0dc9f40602187de812f7ceaf07edf796f060.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/3/e/3e6b81f7583a1ef537a293a53c1bea79a22e6065.png)

Problems :

- As soon as I launch my app, the button is automatically displayed even though there is nothing in the input
- The button is not displayed when the code matches

Can you help me? I’m interested in other ideas than this one of course

---

<div class="post-metadata">

**Author:** ![Flawless](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/flawless/32/20131_2.png) [@Flawless](https://forum.adalo.com/u/Flawless)\
**Post date:** [July 4, 2022, 2:35pm UTC](https://forum.adalo.com/t/access-code-company/29060/2 "2022-07-04T14:35:18Z")

</div>

Select the button, group it by itself (“Make Group” option on the 3 dot vertical settings menu), and set the visibility to sometimes if the input is not equal to empty.

This adds an “AND” style of functionality.

Input is not equal to empty (group visibility setting) AND the logged-in user access code is equal to input (button within the group visibility setting).

---

<div class="post-metadata">

**Author:** ![Totoz](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@Totoz](https://forum.adalo.com/u/Totoz)\
**Post date:** [July 4, 2022, 3:02pm UTC](https://forum.adalo.com/t/access-code-company/29060/3 "2022-07-04T15:02:41Z")

</div>

Thanks again !

So I did that  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/6/5/651c89d3e4a1ff67ab31e35974e9d9440a8627b9.png)  
and that  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/c/8/c83697e2cc303dd369f50179e2ed1dd7098bd2c7.png)  
But it doesnt work… It’s really weird that the button doesnt want being displayed when I’m writting the access code…

---

<div class="post-metadata">

**Author:** ![Totoz](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@Totoz](https://forum.adalo.com/u/Totoz)\
**Post date:** [July 4, 2022, 3:25pm UTC](https://forum.adalo.com/t/access-code-company/29060/4 "2022-07-04T15:25:28Z")

</div>

Ok I found the solution. It was necessary to create a list of the button

---

<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:** [July 14, 2022, 3:26pm UTC](https://forum.adalo.com/t/access-code-company/29060/5 "2022-07-14T15:26:17Z")

</div>

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